DOLPHIN_SA: updated and fixed

This commit is contained in:
xargon 2022-06-22 18:08:16 +02:00
parent 120a68ddd4
commit 59517476e7

View file

@ -703,7 +703,7 @@ modules:
sources: sources:
- type: git - type: git
url: https://github.com/dolphin-emu/dolphin.git url: https://github.com/dolphin-emu/dolphin.git
commit: 8ecfa537a242de74d2e372e30d9d79b14584b2fb commit: 8335ec70e5fe253eb21509408ca6b5736ed57dfc
# detects whether dolphin is running in a flatpak sandbox # detects whether dolphin is running in a flatpak sandbox
# and makes it use xdg directories if it is. # and makes it use xdg directories if it is.
# prevents dolphin from attempting to write conf files # prevents dolphin from attempting to write conf files
@ -714,12 +714,19 @@ modules:
# version strings must match exactly for online multiplayer # version strings must match exactly for online multiplayer
- type: patch - type: patch
path: rd-submodules/dolphin/nodirtyversion.patch path: rd-submodules/dolphin/nodirtyversion.patch
- type: file - type: script
commands: commands:
- for i in {0..9}; do - 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; - test -S $XDG_RUNTIME_DIR/discord-ipc-$i || ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-$i;
- done - done
# use gtk3 filechooser on steamdeck
- bv=`cat /sys/devices/virtual/dmi/id/board_vendor`
- bv=$bv`cat /sys/devices/virtual/dmi/id/board_name`
- if [[ $bv == "ValveJupiter" ]]; then
- QT_QPA_PLATFORMTHEME=gtk3 dolphin-emu "$@"
- else
- dolphin-emu "$@" - dolphin-emu "$@"
- fi
dest-filename: dolphin-emu-wrapper dest-filename: dolphin-emu-wrapper
# Dolphin - END # Dolphin - END