mirror of
https://github.com/RetroDECK/org.DolphinEmu.dolphin-emu.git
synced 2024-11-22 05:35:39 +00:00
Use gtk3 file chooser on steamdeck
The steamdeck runs kde but has some issues with the kde portal. As a workaround we're crudely detecting the steamdeck using vendor strings and setting QT_QPA_PLATFORMTHEME=gtk3 until a fix comes.
This commit is contained in:
parent
f75cb4987b
commit
2b9d14bb42
|
@ -129,5 +129,12 @@ modules:
|
|||
- 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
|
||||
# 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
|
||||
|
|
Loading…
Reference in a new issue