Skip to content
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

Doesn't show any Discord installed client to modify, but detect running Discord processes #2

Open
PoorPocketsMcNewHold opened this issue Jan 7, 2025 · 11 comments

Comments

@PoorPocketsMcNewHold
Copy link

PoorPocketsMcNewHold commented Jan 7, 2025

image
It does detect when I have my native, Discord Canary app open in the background.
image
But it doesn't display any installed Discord apps to select to modify.

Installing shelter manually, via sheltupdate does work as expected, however.

canary 356875 (49ca211) Host 0.0.556 x64 Build Override: N/A Linux 64-bit (6.12.8-201.fsync.fc41.x86_64)

Using the native Linux Discord Canary the terra repo .rpm package, built from the official tarballs, on Nobara 41 (Fedora based)

@yellowsink
Copy link
Member

can you tell me where the discord install folder is?

you can usually find this by doing where discord and then ls -l on that.

@PoorPocketsMcNewHold
Copy link
Author

It resides in /usr/share/discord. For my specific version, It's discord-canary as the folder name (/usr/share/discord-canary).

I do have to correct that I was wrong in believing that Discord had a native .rpm package. Odd of me of remember that. As such, I've been using a repackaged .RPM package from the official tarballs, available on the terra repos.
For them, the folder names will surely follow /usr/share/discordpackagename if you need to hardcode the folder names, instead of just looking in /usr/share/.

  • /usr/share/discord
  • /usr/share/discord-openasar
  • /usr/share/discord-ptb
  • /usr/share/discord-ptb-openasar
  • /usr/share/discord-canary
  • /usr/share/discord-canary-openasar

@yellowsink
Copy link
Member

yellowsink commented Jan 7, 2025

And, just to double-check, do you have a folder at /usr/share/discord-canary/resources containing an app.asar file and/or app folder? I believe there should be from reading the package spec but want to confirm on a real install :)

Thanks for linking the repos, I was unaware of the -openasar packages.

@PoorPocketsMcNewHold
Copy link
Author

PoorPocketsMcNewHold commented Jan 7, 2025

Affirmative.
app.asar bootstrap/manifest.json build_info.json

@yellowsink
Copy link
Member

Perfect! I'll get those paths added to the installer for you, thanks for the report. Guess some potential install locations slipped through the cracks.

@yellowsink
Copy link
Member

Please keep the issue opened for our tracking until its actually committed, thanks

@yellowsink yellowsink reopened this Jan 7, 2025
@yellowsink
Copy link
Member

yellowsink commented Jan 7, 2025

Okay another question for you, can you send me the content of echo $PATH for me.

I misremembered how this injection works so I need different info, sorry about that.

@PoorPocketsMcNewHold
Copy link
Author

PoorPocketsMcNewHold commented Jan 7, 2025

It was modified to add several more path, than naturally present on Nobara, or even Fedora so it is a bit specific to me (For example, I've added path for the guix, nix and pacman package managers which are compatible with a Fedora installation, useful for specific package compared to the native ones in repo).

/home/pm/.guix-profile/bin:/opt/devkitpro/tools/bin:/home/pm/.guix-profile/bin:/home/pm/.config/guix/current/bin:/home/pm/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/opt/devkitpro/tools/bin:/home/pm/.local/share/cargo/bin:/home/pm/.guix-profile/bin:/opt/devkitpro/tools/bin:/home/pm/.asdf/shims:/home/pm/.asdf/bin:/home/pm/.local/bin:/home/pm/bin:/home/pm/.guix-profile/bin:/home/pm/.config/guix/current/bin:/usr/lib/qtchooser:/home/pm/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/usr/share/Modules/bin:/opt/devkitpro/tools/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/pm/.dotnet/tools:/usr/local/pspdev/bin:/home/pm/.spicetify:/home/pm/.spicetify:/home/pm/.spicetify:/usr/local/pspdev/bin:/home/pm/.spicetify:/home/pm/.spicetify

Something to point out, which may be the reason of your questionnement, is that the actual called binary for discord-canary is stored in /usr/bin/

@yellowsink
Copy link
Member

that's fine as usr bin is in your path.
can I get the output of ls -l /usr/bin/discord-canary? I'm expecting to see a symbolic link.

@PoorPocketsMcNewHold
Copy link
Author

@yellowsink commented on Jan 7, 2025, 3:27 PM GMT+1:

that's fine as usr bin is in your path.
can I get the output of ls -l /usr/bin/discord-canary? I'm expecting to see a symbolic link.

Originally posted by @yellowsink in #2 (comment)

Yep, it is.
lrwxrwxrwx 1 root root 32 1 déc. 2022 /usr/bin/discord-canary -> /usr/share/discord/DiscordCanary

@yellowsink
Copy link
Member

okay, thank you very much, I should be able to investigate this now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants