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">
<!-- Nintendo Switch emulator Ryujinx -->
<rule type="systempath">
<entry>Ryujinx.sh</entry> <!-- RetroDECK -->
<entry>ryujinx-rdwrapper.sh</entry> <!-- RetroDECK -->
<entry>Ryujinx</entry>
<entry>Ryujinx.Ava</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
- 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:
- type: 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
# REMOVE BEFORE NEXT VERSION RELEASE
# Linking switch keys for Ryujinx
manage_ryujinx_keys
# Normal Startup
if [[ $steam_sync == "true" ]]; then

View file

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