Before Reporting
Describe the Bug
Discord PTB is no longer detected correctly on macOS due to changes in the PTB directory structure.
The BetterDiscord installer would not recognize my Discord PTB installation until I manually created compatibility symlinks to match the directory layout expected by BetterDiscord.
Specifically, I had to create:
0.0.237 -> app-0.0.237
discord_desktop_core -> discord_desktop_core-1
After creating these symlinks, the installer successfully detected Discord PTB, downloaded BetterDiscord, injected the shim, restarted Discord PTB, and reported a completely successful installation.
However, BetterDiscord still does not load after Discord PTB starts.
There is no BetterDiscord settings section, no BetterDiscord UI, and no indication that BetterDiscord has initialized.
This appears to indicate two separate issues:
Discord PTB detection is incompatible with the current PTB directory structure.
Even when installation succeeds via compatibility symlinks, BetterDiscord still does not load in Discord PTB.
Expected Behavior
Install and load normally
Steps To Reproduce
- Install Discord PTB on macOS.
- Run the BetterDiscord installer.
- Observe that Discord PTB is not detected.
- Create compatibility symlinks matching the old expected layout.
- Run the installer again.
- Installation completes successfully.
- Launch or restart Discord PTB.
Operating System
MacOS
Discord Version
PTB
BetterDiscord Version
1.13.14
Anything else?
- BetterDiscord Version: 1.13.14
- Discord Channel: PTB
- OS: macOS 26.5.1 (Intel)
- Fresh installation attempted
- Discord PTB fully closed before installation
Installer Output
Starting Install...
Creating required directories...
✅ Directory exists: /Users/fpeeters/Library/Application Support/BetterDiscord
✅ Directory exists: /Users/fpeeters/Library/Application Support/BetterDiscord/data
✅ Directory exists: /Users/fpeeters/Library/Application Support/BetterDiscord/themes
✅ Directory exists: /Users/fpeeters/Library/Application Support/BetterDiscord/plugins
✅ Directories created
Downloading asar file
✅ Downloaded BetterDiscord version v1.13.14 from the official website
✅ Package downloaded
Injecting shims...
Injecting into: /Users/fpeeters/Library/Application Support/discordptb/app-0.0.237/modules/discord_desktop_core
✅ Injection successful
✅ Shims injected
Restarting Discord...
Attempting to kill Discord PTB
✅ Discord restarted
Install completed!
Current Discord PTB Layout
Discord PTB currently uses the following structure:
~/Library/Application Support/discordptb/
├── 0.0.237
├── app-0.0.237
│ └── modules
│ ├── discord_cloudsync-1
│ ├── discord_desktop_core-1
│ ├── discord_dispatch-1
│ ├── discord_erlpack-1
│ ├── discord_game_utils-1
│ ├── discord_intents-1
│ ├── discord_krisp-1
│ ├── discord_modules-1
│ ├── discord_notifications-1
│ ├── discord_rpc-1
│ ├── discord_spellcheck-1
│ ├── discord_utils-1
│ ├── discord_voice-1
│ ├── discord_webauthn-1
│ └── discord_zstd-1
The installer expects:
~/Library/Application Support/discordptb/app-0.0.237/modules/discord_desktop_core
while the actual PTB module directory is:
~/Library/Application Support/discordptb/app-0.0.237/modules/discord_desktop_core-1
##Symlinks Required
To get the installer to proceed, I created:
ln -s app-0.0.237 0.0.237
ln -s discord_desktop_core-1 discord_desktop_core
After creating these symlinks, the installer completed successfully and reported successful injection.
Despite that, BetterDiscord still does not load when Discord PTB starts.
Additional Information
This issue began after a recent Discord PTB update that appears to have changed the PTB directory structure and module naming convention.
I can provide additional logs, screenshots, or directory listings if required.
Before Reporting
Describe the Bug
Discord PTB is no longer detected correctly on macOS due to changes in the PTB directory structure.
The BetterDiscord installer would not recognize my Discord PTB installation until I manually created compatibility symlinks to match the directory layout expected by BetterDiscord.
Specifically, I had to create:
After creating these symlinks, the installer successfully detected Discord PTB, downloaded BetterDiscord, injected the shim, restarted Discord PTB, and reported a completely successful installation.
However, BetterDiscord still does not load after Discord PTB starts.
There is no BetterDiscord settings section, no BetterDiscord UI, and no indication that BetterDiscord has initialized.
This appears to indicate two separate issues:
Discord PTB detection is incompatible with the current PTB directory structure.
Even when installation succeeds via compatibility symlinks, BetterDiscord still does not load in Discord PTB.
Expected Behavior
Install and load normally
Steps To Reproduce
Operating System
MacOS
Discord Version
PTB
BetterDiscord Version
1.13.14
Anything else?
Installer Output
Current Discord PTB Layout
Discord PTB currently uses the following structure:
~/Library/Application Support/discordptb/
├── 0.0.237
├── app-0.0.237
│ └── modules
│ ├── discord_cloudsync-1
│ ├── discord_desktop_core-1
│ ├── discord_dispatch-1
│ ├── discord_erlpack-1
│ ├── discord_game_utils-1
│ ├── discord_intents-1
│ ├── discord_krisp-1
│ ├── discord_modules-1
│ ├── discord_notifications-1
│ ├── discord_rpc-1
│ ├── discord_spellcheck-1
│ ├── discord_utils-1
│ ├── discord_voice-1
│ ├── discord_webauthn-1
│ └── discord_zstd-1
The installer expects:
~/Library/Application Support/discordptb/app-0.0.237/modules/discord_desktop_corewhile the actual PTB module directory is:
~/Library/Application Support/discordptb/app-0.0.237/modules/discord_desktop_core-1##Symlinks Required
To get the installer to proceed, I created:
After creating these symlinks, the installer completed successfully and reported successful injection.
Despite that, BetterDiscord still does not load when Discord PTB starts.
Additional Information
This issue began after a recent Discord PTB update that appears to have changed the PTB directory structure and module naming convention.
I can provide additional logs, screenshots, or directory listings if required.