Open bboyaztec opened 2 years ago
Yes, but in fact this is not due to Discord's update but due to the electron-17 branch having been merged into the BetterDiscord 1.7.0 release, which removes direct NodeJS API access from the renderer process and polyfills most of what plugins use. Multi-Instance depends on the child_process
API, which has not been polyfilled for security reasons.
I think that the functionality of Multi-Instance is something a plugin should be able to provide but as of now there is no fix and there probably won't be in the near future. I'll try to discuss this with Zerebos and Strencher again at some point - maybe we can come up with something.
Surely not as convenient but you can create a shortcut to Discord.exe
(assuming Windows) and pass --multi-instance
as an extra parameter. Running Discord from this shortcut will allow for a second window.
Thanks for the shortcut tip. Good solution for my needs here.
Also if you're interested, OpenAsar (which is compatible with BD) has multi-instance
I created a powershell script file which contains :
Start-Process -FilePath "DIR/TO/DISCORD/app-*/Discord.exe" -ArgumentList "--multi-instance"
and i can execute it from my desktop
I prefered the script because after each update, the name of the folder "app-X.X.XXXX" change, so with this script, it detect automatically the exe
Tell me if there is a better solution :D
Also if you're interested, OpenAsar (which is compatible with BD) has multi-instance
hello, cna u explain more on how to use it? and which should i install? theres stable, PTB, and canary.
I created a powershell script file which contains :
Start-Process -FilePath "DIR/TO/DISCORD/app-*/Discord.exe" -ArgumentList "--multi-instance"
and i can execute it from my desktopI prefered the script because after each update, the name of the folder "app-X.X.XXXX" change, so with this script, it detect automatically the exe
Tell me if there is a better solution :D
how does this work?
Discord pushed out a new update. Plugin is no longer functional.