DOLPHIN: new logic, make retrodeck.sh initalize the emu-config

This commit is contained in:
XargonWan 2022-04-23 11:54:24 +09:00
parent 65d6e8d70c
commit 9ab2e5e6cd
2 changed files with 9 additions and 3 deletions

View file

@ -988,9 +988,9 @@ modules:
# 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
# Configuring Dolphin # Configuring Initializing emu-configs (Dolphin)
- mkdir -p /var/config/dolphin-emu/ - mkdir -p ${FLATPAK_DEST}/retrodeck/emu-configs
- cp Dolphin.ini /var/config/dolphin-emu/Dolphin.ini - cp Dolphin.ini ${FLATPAK_DEST}/retrodeck/emu-configs
#cleanup: ['*'] #cleanup: ['*']
sources: sources:

View file

@ -72,6 +72,12 @@ 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 standalone emulators configs
#Dolphin
mkdir -p /var/config/dolphin-emu/
cp /var/config/retroarch/emu-configs/Dolphin.ini /var/config/dolphin-emu/Dolphin.ini
touch ~/retrodeck/.lock touch ~/retrodeck/.lock
kdialog --title "RetroDECK" --msgbox "Initialization completed.\nplease put your roms in:\n\n$roms_folder\n\nand your bioses in\n\n~/retrodeck/bios\n\nThen start the program again.\nIf you wish to change the roms location, you may use the tool located the tools section of RetroDECK.\n\nIt's suggested to add RetroDECK to your Steam Library for a quick access." kdialog --title "RetroDECK" --msgbox "Initialization completed.\nplease put your roms in:\n\n$roms_folder\n\nand your bioses in\n\n~/retrodeck/bios\n\nThen start the program again.\nIf you wish to change the roms location, you may use the tool located the tools section of RetroDECK.\n\nIt's suggested to add RetroDECK to your Steam Library for a quick access."