Skip to content

[Bug] Discord PTB not detected on macOS; installation succeeds via symlinks but BetterDiscord still does not load #411

@FearNaBoinne

Description

@FearNaBoinne

Before Reporting

  • I found no existing issues matching my bug
  • My issue is not caused by a plugin or theme

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

  1. Install Discord PTB on macOS.
  2. Run the BetterDiscord installer.
  3. Observe that Discord PTB is not detected.
  4. Create compatibility symlinks matching the old expected layout.
  5. Run the installer again.
  6. Installation completes successfully.
  7. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    🆕 Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions