MELONDS (sa): fixed config file with sed

This commit is contained in:
Steam Deck User 2022-06-08 14:25:58 +02:00
parent 73ac8f1b18
commit e58a653b46
2 changed files with 3 additions and 1 deletions

View file

@ -174,7 +174,7 @@ modules:
branch: 5a76fef25ffc659f098ee65215281c51a63c3198
- type: shell
commands:
- sed -i 's/QUIT EMULATIONSTATION/QUIT RETRODECK/g' es-app/src/guis/GuiMenu.cpp
- sed -i 's/QUIT EMULATIONSTATION/QUIT RETRODECK/g' es-app/src/guis/GuiMenu.cpp
- sed -i 's#"EMULATIONSTATION-DE V" + Utils::String::toUpper(PROGRAM_VERSION_STRING)#"RetroDECK v'$(cat ${FLATPAK_DEST}/retrodeck/version)', ES-DE v" + Utils::String::toUpper(PROGRAM_VERSION_STRING)#g' es-app/src/guis/GuiMenu.cpp
# ES-DE - END

View file

@ -124,6 +124,8 @@ standalones_init() {
mkdir -pv /var/config/melonDS/
dir_prep "$rdhome/bios" "/var/config/melonDS/bios"
cp -fv $emuconfigs/melonDS.ini /var/config/melonDS/
# Replace ~/retrodeck with $rdhome as ~ cannot be understood by MelonDS
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/melonDS/melonDS.ini
# CITRA
mkdir -pv /var/config/citra-emu/