caoimhebyrne / KDiscordIPC

A Kotlin library for interacting with Discord via IPC
MIT License
50 stars 8 forks source link

Add support for Flatpak and Snap version of Discord #28

Closed thecatcore closed 1 year ago

caoimhebyrne commented 1 year ago

I'll close this since we shouldn't do flatpak or snap specific operations.

thecatcore commented 1 year ago

The source for this fix is the nodejs package @xhayper/discord-rpc. I'm using the flatpak version of Discord but the apps which use RPC are not flatpak themselves. Your library currently doesn't work in this case but the package linked is one of the few that does.

DJtheRedstoner commented 1 year ago

The Discord flatpak has instructions on what to do: https://github.com/flathub/com.discordapp.Discord/wiki/Rich-Precense-(discord-rpc)#unsandboxed-applications. This should not be the responsibility of individual libraries.