From 049f7a80a93dfc40779f34037b1eaba1cb6c27d6 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Wed, 21 Feb 2024 21:39:44 +0100 Subject: [PATCH] ES-DE: changing more paths, again and again --- functions/050_save_migration.sh | 2 +- functions/functions.sh | 2 +- functions/global.sh | 2 +- functions/prepare_component.sh | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/functions/050_save_migration.sh b/functions/050_save_migration.sh index 55f3d679..42632f1f 100644 --- a/functions/050_save_migration.sh +++ b/functions/050_save_migration.sh @@ -33,7 +33,7 @@ save_migration() { mkdir -pv $rdhome/logs #this was added later, maybe safe to remove in a few versions # Resetting es_settings, now we need it but in the future I should think a better solution, maybe with sed - cp -fv /app/retrodeck/es_settings.xml /var/config/ES-DE/es_settings.xml + cp -fv /app/retrodeck/es_settings.xml /var/config/ES-DE/settings/es_settings.xml # 0.4 -> 0.5 # Perform save and state migration if needed diff --git a/functions/functions.sh b/functions/functions.sh index f1d0a7cb..4f393f43 100644 --- a/functions/functions.sh +++ b/functions/functions.sh @@ -651,5 +651,5 @@ start_retrodeck() { easter_eggs # Check if today has a surprise splashscreen and load it if so # normal startup echo "Starting RetroDECK v$version" - es-de --home /var/config/ES-DE + es-de --home /var/config/ } diff --git a/functions/global.sh b/functions/global.sh index 6c8d889f..be52f198 100644 --- a/functions/global.sh +++ b/functions/global.sh @@ -62,7 +62,7 @@ yuzuconf="/var/config/yuzu/qt-config.ini" # ES-DE config files -es_settings="/var/config/ES-DE/es_settings.xml" +es_settings="/var/config/ES-DE/settings/es_settings.xml" # RetroArch config files diff --git a/functions/prepare_component.sh b/functions/prepare_component.sh index edeeda55..e0059e43 100644 --- a/functions/prepare_component.sh +++ b/functions/prepare_component.sh @@ -42,12 +42,12 @@ prepare_component() { if [[ "$action" == "reset" ]]; then rm -rf /var/config/es-de/ mkdir -p /var/config/ES-DE/ - cp -f /app/retrodeck/es_settings.xml /var/config/ES-DE/es_settings.xml + cp -f /app/retrodeck/es_settings.xml /var/config/ES-DE/settings/es_settings.xml set_setting_value "$es_settings" "ROMDirectory" "$roms_folder" "es_settings" set_setting_value "$es_settings" "MediaDirectory" "$media_folder" "es_settings" set_setting_value "$es_settings" "UserThemeDirectory" "$themes_folder" "es_settings" dir_prep "$rdhome/gamelists" "/var/config/ES-DE/gamelists" - es-de --home /var/config/es-de --create-system-dirs + es-de --home /var/config/ES-DE --create-system-dirs update_splashscreens fi if [[ "$action" == "postmove" ]]; then