-
Notifications
You must be signed in to change notification settings - Fork 5
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
Work with new discord version #9
base: main
Are you sure you want to change the base?
Conversation
Thx Shades on Discord
Yup, seems to happen when you open the settings panel. It's a bug with ZeresPluginLibrary, so we gotta wait for them to fix it. In the meantime you can always edit CrossPlatformPlaying.config.json directly if you need to. |
Could you elaborate on what the exact issue with ZeresPluginLibrary is? I would like to open an issue about it in their github repo. Or you can open the issue yourself. |
Whenever I add the contents of add_this_to_index.js to index.js and Alt+F4 Discord, Discord doesn't re-open until I revert the changes to index.js Please help! |
Instead of going to |
Hi, is this plugin still being updated? |
I do not see any file or anything named app under resources. Might just be on my side but would appreciate any help |
i was gonna ask if the rich presence feature support is implemented, or will it be implemented later? |
This uses a custom preload script to inject into discord's main process and expose some custom functions for opening net/tls sockets, therefore working almost like before the update.
I say almost, because some extra setup is required to get it working:
%localappdata%/Discord/App-1.0.XXXX/resources/app
index.js
index.js
, and above therequire(...\\BetterDiscord.asar)
line, paste everything in add_this_to_index.jsOnce you reopen Discord, you can install the beta version of the plugin as usual in the plugins folder.
The short term plan is to automate this process, so that it happens in one click when you first install the plugin.
The long term plan is to try and get the net/tls wrappers integrated into BetterDiscord itself, to not need to do this setup at all.
Let me know if anything doesn't work, either by opening a new issue or replying to this PR :)