Flatpak: Move wrapper script outside of the manifest

This commit is contained in:
OatmealDome
2025-01-23 13:39:45 -05:00
parent 4b4a58623b
commit a34f81ff34
2 changed files with 9 additions and 10 deletions

8
Flatpak/dolphin-emu-wrapper Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
# https://github.com/flathub/com.discordapp.Discord/wiki/Rich-Precense-(discord-rpc)#flatpak-applications
for i in {0..9}; do
test -S $XDG_RUNTIME_DIR/discord-ipc-$i || ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-$i;
done
dolphin-emu "$@"