Open gcavallo opened 4 years ago
RetroArch added Discord Rich Presence in 1.7.4 but it doesn't work when sandboxed inside flatpak.
There's a guide on how support can be added in a flatpak app here: https://github.com/flathub/com.discordapp.Discord/wiki/Rich-Precense-(discord-rpc)
Other apps on flathub, like com.valvesoftware.Steam, have applied this in their distribution.
Applying the permission and symlink manually still doesn't work:
[INFO] [DISCORD]: Registering startup command: sh -c retroarch -v sh: xdg-mime: command not found
Seems xdg-utils is required by deps/discord-rpc/src/discord_register_linux.c but isn't included in this flatpak.
Example of doing this from yuzu flatpak: https://github.com/flathub/org.yuzu_emu.yuzu/blob/6d245eaf894daf55b72475f2a824d46d7d7cc95b/org.yuzu_emu.yuzu.json#L15 https://github.com/flathub/org.yuzu_emu.yuzu/blob/6d245eaf894daf55b72475f2a824d46d7d7cc95b/yuzu-launcher.sh#L17-L20
RetroArch added Discord Rich Presence in 1.7.4 but it doesn't work when sandboxed inside flatpak.
There's a guide on how support can be added in a flatpak app here: https://github.com/flathub/com.discordapp.Discord/wiki/Rich-Precense-(discord-rpc)
Other apps on flathub, like com.valvesoftware.Steam, have applied this in their distribution.
Applying the permission and symlink manually still doesn't work:
Seems xdg-utils is required by deps/discord-rpc/src/discord_register_linux.c but isn't included in this flatpak.