BetterDiscord: [Bug] BetterDiscord incompatible with latest Stable on Mac

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

  1. Download latest discord version on any MacOS version
  2. Download BandagedBD
  3. Press “Install BandagedBD”
  4. Click install
  5. Errors are shown

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)

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 76
  • Comments: 32 (3 by maintainers)

Most upvoted comments

Instead of adding a new comment, please react 👍 to the original issue if you have the same issue.

<del>Current workaround for macOS is to: 1. close discord 2.download this file: https://cdn.discordapp.com/attachments/410788958277074944/821690118468272168/patch.zip and extract it. 3.You should get an app folder; paste that app folder in /Applications/Discord.app/Contents/Resources. 4.restart discord 5.you may need to go to settings to reenable the themes/plugins Credits: @lukasbableck of the BetterDiscord2 server</del>

EDIT: don’t do this. Instead, download the latest beta installer from here: https://github.com/BetterDiscord/Installer/releases/tag/v1.0.0-beta

Please see my earlier comment.

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

Thanks a lot for your fix @SwiftWinds !

Tips for linux user : this need extracted at ~/.local/share/betterdiscordctl/bd/0

Current workaround for macOS is to:

  1. close discord
  2. download this file: https://cdn.discordapp.com/attachments/410788958277074944/821690118468272168/patch.zip and extract it.
  3. You should get an app folder; paste that app folder in /Applications/Discord.app/Contents/Resources.
  4. restart discord
  5. you may need to go to settings to reenable the themes/plugins

Credits: @lukasbableck of the BetterDiscord2 server

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- https://github.com/rauenzi/BetterDiscordApp/issues/600#issuecomment-807927487

Working for the most part now.