RYUJINX: add wrapper for key management

This commit is contained in:
XargonWan 2024-03-02 11:52:36 +01:00
parent cf95084eaf
commit 6e571b068f
5 changed files with 10 additions and 5 deletions

View file

@ -0,0 +1,4 @@
#!/bin/bash
manage_ryujinx_keys
Ryujinx.sh

View file

@ -742,7 +742,7 @@
<emulator name="RYUJINX"> <emulator name="RYUJINX">
<!-- Nintendo Switch emulator Ryujinx --> <!-- Nintendo Switch emulator Ryujinx -->
<rule type="systempath"> <rule type="systempath">
<entry>Ryujinx.sh</entry> <!-- RetroDECK --> <entry>ryujinx-rdwrapper.sh</entry> <!-- RetroDECK -->
<entry>Ryujinx</entry> <entry>Ryujinx</entry>
<entry>Ryujinx.Ava</entry> <entry>Ryujinx.Ava</entry>
<entry>org.ryujinx.Ryujinx</entry> <entry>org.ryujinx.Ryujinx</entry>

View file

@ -1375,6 +1375,10 @@ modules:
- cp emu-configs/mame/mame-rdwrapper.sh ${FLATPAK_DEST}/bin/mame-rdwrapper.sh - cp emu-configs/mame/mame-rdwrapper.sh ${FLATPAK_DEST}/bin/mame-rdwrapper.sh
- chmod +x ${FLATPAK_DEST}/bin/mame-rdwrapper.sh - chmod +x ${FLATPAK_DEST}/bin/mame-rdwrapper.sh
# Ryujinx wrapper
- cp emu-configs/ryujinx/ryujinx-rdwrapper.sh ${FLATPAK_DEST}/bin/ryujinx-rdwrapper.sh
- chmod +x ${FLATPAK_DEST}/bin/ryujinx-rdwrapper.sh
sources: sources:
- type: git - type: git
url: https://github.com/XargonWan/RetroDECK.git url: https://github.com/XargonWan/RetroDECK.git

View file

@ -182,9 +182,6 @@ if [[ -f "$HOME/.steam/steam/controller_base/templates/RetroDECK_controller_conf
fi fi
# REMOVE BEFORE NEXT VERSION RELEASE # REMOVE BEFORE NEXT VERSION RELEASE
# Linking switch keys for Ryujinx
manage_ryujinx_keys
# Normal Startup # Normal Startup
if [[ $steam_sync == "true" ]]; then if [[ $steam_sync == "true" ]]; then

View file

@ -510,7 +510,7 @@ configurator_open_emulator_dialog() {
"Ryujinx" ) "Ryujinx" )
log i "Configurator: \"$emulator\"" log i "Configurator: \"$emulator\""
Ryujinx.sh ryujinx-rdwrapper.sh
;; ;;
"Vita3K" ) "Vita3K" )