From 120a68ddd4feacb9326657485ee1681c0800983d Mon Sep 17 00:00:00 2001 From: xargon Date: Wed, 22 Jun 2022 18:04:53 +0200 Subject: [PATCH 1/2] DOLPHIN_SA: removed desktop file creation --- net.retrodeck.retrodeck.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/net.retrodeck.retrodeck.yml b/net.retrodeck.retrodeck.yml index 82683fcb..263aa2b2 100644 --- a/net.retrodeck.retrodeck.yml +++ b/net.retrodeck.retrodeck.yml @@ -700,8 +700,6 @@ modules: post-install: - install -D dolphin-emu-wrapper /app/bin/dolphin-emu-wrapper - sed -i -e 's/"2048"/"512"/g' /app/share/icons/hicolor/scalable/apps/dolphin-emu.svg - - desktop-file-edit --set-key=Exec --set-value='/app/bin/dolphin-emu-wrapper' - /app/share/applications/dolphin-emu.desktop sources: - type: git url: https://github.com/dolphin-emu/dolphin.git From 59517476e78f71603b46934a038b3fb3830b03e1 Mon Sep 17 00:00:00 2001 From: xargon Date: Wed, 22 Jun 2022 18:08:16 +0200 Subject: [PATCH 2/2] DOLPHIN_SA: updated and fixed --- net.retrodeck.retrodeck.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/net.retrodeck.retrodeck.yml b/net.retrodeck.retrodeck.yml index 263aa2b2..67fa4d5f 100644 --- a/net.retrodeck.retrodeck.yml +++ b/net.retrodeck.retrodeck.yml @@ -703,7 +703,7 @@ modules: sources: - type: git url: https://github.com/dolphin-emu/dolphin.git - commit: 8ecfa537a242de74d2e372e30d9d79b14584b2fb + commit: 8335ec70e5fe253eb21509408ca6b5736ed57dfc # detects whether dolphin is running in a flatpak sandbox # and makes it use xdg directories if it is. # prevents dolphin from attempting to write conf files @@ -714,12 +714,19 @@ modules: # version strings must match exactly for online multiplayer - type: patch path: rd-submodules/dolphin/nodirtyversion.patch - - type: file + - type: script commands: - 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 "$@" + # 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 "$@" + - fi dest-filename: dolphin-emu-wrapper # Dolphin - END