YUZU: new logic

This commit is contained in:
XargonWan 2022-04-23 15:11:33 +09:00
parent e722709ea4
commit 5fdadaf3ef
2 changed files with 8 additions and 5 deletions

View file

@ -985,9 +985,9 @@ modules:
- cp retrodeck.sh /app/bin/retrodeck.sh - cp retrodeck.sh /app/bin/retrodeck.sh
- chmod +x /app/bin/retrodeck.sh - chmod +x /app/bin/retrodeck.sh
# Configuring Yuzu # Yuzu
- mkdir -p /var/config/yuzu/ - mkdir -p ${FLATPAK_DEST}/retrodeck/emu-configs
- cp qt-config.ini /var/config/yuzu/qt-config.ini - cp qt-config.ini ${FLATPAK_DEST}/retrodeck/emu-configs
# Desktop entry # Desktop entry
- cp com.xargon.retrodeck.desktop /app/share/applications/com.xargon.retrodeck.desktop - cp com.xargon.retrodeck.desktop /app/share/applications/com.xargon.retrodeck.desktop

View file

@ -74,10 +74,13 @@ then
mkdir -p /var/config/retroarch/cores/ mkdir -p /var/config/retroarch/cores/
cp /app/share/libretro/cores/* /var/config/retroarch/cores/ cp /app/share/libretro/cores/* /var/config/retroarch/cores/
# Initializing Yuzu # Yuzu
mkdir -p ~/retrodeck/bios/switch/keys mkdir -p ~/retrodeck/bios/switch/
mkdir -p /var/config/yuzu/keys
mkdir -p /var/data/yuzu/registered
ln -s ~/retrodeck/bios/switch/keys /var/data/yuzu/keys ln -s ~/retrodeck/bios/switch/keys /var/data/yuzu/keys
ln -s /var/data/yuzu/registered ~/retrodeck/bios/switch/registered ln -s /var/data/yuzu/registered ~/retrodeck/bios/switch/registered
cp /var/config/retroarch/emu-configs/qt-config.ini /var/config/yuzu/qt-config.ini
touch ~/retrodeck/.lock touch ~/retrodeck/.lock