-
Notifications
You must be signed in to change notification settings - Fork 54
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
DiscordRPC does not work inside the snap #946
Comments
I know, how to fix it but it needs changes in the upstream source code. Basically, the code is searching in a path is non-existent to snap context. In snap, the Now, discord-ipc is in
The problem is, I am a very big noob in rust... So, not sure if I'll be able to fix it. |
Wow thanks for this analysis! |
Needed to fix
|
Thanks @soumyaDghosh ! I need to resync our fork again with your branch of the rust dep
what would we need to change inside snapcraft.yaml for this? |
Fails with
I am using this dart package which is using this rust package:
https://github.com/KRTirtho/frb_plugins/blob/main/packages/flutter_discord_rpc/native/Cargo.toml#L18C1-L18C22
in the rust package that is being there used this is the line where it wants to create a unix socket:
https://github.com/vionya/discord-rich-presence/blob/18ecbe78c7030a31932efb550e738fef94aa7a6b/src/ipc_unix.rs#L90
@kenvandine do you know if this doable with the snap with any plug/slot?
I disable this for now for linux and added a toggle setting for all inside settings
The text was updated successfully, but these errors were encountered: