From e58a653b46a81a3b9957d5ed003ee387d290cded Mon Sep 17 00:00:00 2001 From: Steam Deck User Date: Wed, 8 Jun 2022 14:25:58 +0200 Subject: [PATCH] MELONDS (sa): fixed config file with sed --- net.retrodeck.retrodeck.yml | 2 +- retrodeck.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/net.retrodeck.retrodeck.yml b/net.retrodeck.retrodeck.yml index 959d1d9d..65f03b92 100644 --- a/net.retrodeck.retrodeck.yml +++ b/net.retrodeck.retrodeck.yml @@ -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 diff --git a/retrodeck.sh b/retrodeck.sh index 9f5ec8a6..c3e47f19 100644 --- a/retrodeck.sh +++ b/retrodeck.sh @@ -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/