Add Discord Rich Presence Support
This commit is contained in:
parent
4717ece71b
commit
6794fe0f43
2 changed files with 8 additions and 1 deletions
|
@ -13,7 +13,8 @@
|
|||
"--socket=fallback-x11",
|
||||
"--socket=pulseaudio",
|
||||
"--share=network",
|
||||
"--share=ipc"
|
||||
"--share=ipc",
|
||||
"--filesystem=xdg-run/app/com.discordapp.Discord:create"
|
||||
],
|
||||
"cleanup-commands": [
|
||||
"/app/cleanup-BaseApp.sh"
|
||||
|
|
|
@ -13,6 +13,12 @@ EOF
|
|||
zenity --warning --no-wrap --title "That's awkward ..." --text "$MESSAGE"
|
||||
}
|
||||
|
||||
# Discord RPC
|
||||
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
|
||||
|
||||
|
||||
if ! prlimit --nofile=8192 yuzu "$@"; then
|
||||
report_error
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue