-
-
Notifications
You must be signed in to change notification settings - Fork 972
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
[Bug] BetterDiscord incompatible with latest Stable on Mac #600
Comments
I got the same problem & I can’t fix it |
I'm pretty sure I also had this error, but it somehow fixed itself. |
I am pretty sure is because you dont have discord.app but idk |
Instead of adding a new comment, please react 👍 to the original issue if you have the same issue. |
[25849:0325/103402.306936:INFO:CONSOLE(115)] "Unable to load preload script: /Applications/Discord.app/Contents/Resources/app/betterdiscord/preload.js", source: electron/js2c/renderer_init.js (115) [25849:0325/103402.307075:INFO:CONSOLE(115)] "TypeError: Cannot read property 'app' of undefined", source: electron/js2c/renderer_init.js (115) |
basically, we all have the same problem |
I think its electron problem. See more in #442 |
I just updated Discord and somehow BetterDiscord was "uninstalled". I'm getting the same error too. Manual installation doesn't work either. Maybe Discord changed how the app loads up. Or as @Kinue72 mentioned, it's probably related to electron. |
When I try to install it manually, it puts my discord into the web browser version running on the app. I know this because I can't zoom, and I can't set custom keybinds |
has this been fixed yet ? because my better discord is still bugging since the update. |
Please see my earlier comment. |
i'm also having the same problem whenever i click install it does nothing |
Yeah, same here. I didn't know how to fix it so I thought I'd wait a day until it is. I won't put the creator under pressure though because he's probably trying to fix it as we speak. |
Won't install. |
EDIT: don't do this. Instead, download the latest beta installer from here: https://github.com/BetterDiscord/Installer/releases/tag/v1.0.0-beta |
Thanks for this. Custom CSS causes my Discord to just reload, but this is still 90% of the way to happy again so I'll take it. Cheers! |
Have tried this, unfortunately yielded the same issue. No BetterDiscord section in settings. Going to drop this here since I posted it in a duplicate issue: Same issue, tried the manual injector as well-- can get discord to launch, but the BetterDiscord settings section is missing under settings. For some reason adding the app folder into resources on Mac causes you to lose further ability to close the app without a force quit. Hopefully this will get resolved soon. EDIT 3/29- Working for the most part now. |
i was about to say this didn't work for me either but it just takes a really long time for it to load |
Thanks a lot for your fix @SwiftWinds ! Tips for linux user : this need extracted at |
From what I can tell on the OSX version, the app folder no longer exists at all. I've tried to use the injector, even so far as renaming the app.asar that comes with Discord (to old-app.asar) and then renaming the app.asar in the injector's index.js file to old-app.asar in order to attempt to force bd to load first. This is what the original app.asar's contents look like. I haven't messed with betterbd installation manually enough to know exactly how it should work, so I don't know how to fix it. I just believe that betterbd is being cleared out by Discord on load and I may have to find my backup modified Discord app in the meantime while waiting for the fix. Edit: For those interested in opening the asar, I installed: brew install node
npm install --engine-strict -g asar
# As package doesn't seem to work, use p instead
# asar p app app.asar # To package betterbd as an asar (not going to make betterbd work)
# asar e old-app.asar app # To extract the renamed version of Discord's asar Edit 2: I can confirm that #600 (comment) does in fact fix the issue, but do not switch to beta or you'll have to recopy the app folder. |
Thats exactly what happened to me. The better discord app was removed and now I'm having same errors above |
Did you try #600 (comment)? |
I did with manually injecting and still didn't work |
Hmm... Idk then, it works for me. Maybe ask in #support in the official BetterDiscord discord server. |
already did ty for your help |
THATS WHAT I DID :))) I KNEW SOMONE WOULD FIND IT I USED XCODE :DDDDDDD |
IM SO HAPPY |
:DDDDD |
not doing anything at all on catalina 10.15.7 |
Where is /Applications/Discord.app/Contents/Resources ? |
Dove lo cerco il comando /Applications/Discord.app/Contents/Resources ? |
Describe the Bug
After updating to the latest Discord version, BetterDiscord refuses to work and its installer. Installer doesn't allow to re-install BD since it displays an error that shows
Failed to install to : ReferenceError: cannot access 'fs' before initialization
. Even after reinstalling the installer the bug is still present.To Reproduce
Expected Behavior
BBD installs BD and on Discord startup BD launches
Screenshots
Discord Version
Stable, latest
Additional Context
Problem only occurs on MacOS (Any versions)
The text was updated successfully, but these errors were encountered: