Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi Instance is broke after update #197

Open
bboyaztec opened this issue Sep 30, 2022 · 6 comments
Open

Multi Instance is broke after update #197

bboyaztec opened this issue Sep 30, 2022 · 6 comments

Comments

@bboyaztec
Copy link

Discord pushed out a new update. Plugin is no longer functional.

@Inve1951
Copy link
Owner

Inve1951 commented Oct 1, 2022

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.

@bboyaztec
Copy link
Author

Thanks for the shortcut tip. Good solution for my needs here.

@SmolAlli
Copy link

SmolAlli commented Oct 4, 2022

Also if you're interested, OpenAsar (which is compatible with BD) has multi-instance

@KiraFR
Copy link

KiraFR commented Oct 17, 2022

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

@auralicia
Copy link

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.

@clavzno
Copy link

clavzno commented Feb 9, 2023

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

how does this work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants