ES-DE: changing more paths, again and again

This commit is contained in:
XargonWan 2024-02-21 21:39:44 +01:00
parent 4414be0fd1
commit 049f7a80a9
4 changed files with 5 additions and 5 deletions

View file

@ -33,7 +33,7 @@ save_migration() {
mkdir -pv $rdhome/logs #this was added later, maybe safe to remove in a few versions 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 # 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 # 0.4 -> 0.5
# Perform save and state migration if needed # Perform save and state migration if needed

View file

@ -651,5 +651,5 @@ start_retrodeck() {
easter_eggs # Check if today has a surprise splashscreen and load it if so easter_eggs # Check if today has a surprise splashscreen and load it if so
# normal startup # normal startup
echo "Starting RetroDECK v$version" echo "Starting RetroDECK v$version"
es-de --home /var/config/ES-DE es-de --home /var/config/
} }

View file

@ -62,7 +62,7 @@ yuzuconf="/var/config/yuzu/qt-config.ini"
# ES-DE config files # 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 # RetroArch config files

View file

@ -42,12 +42,12 @@ prepare_component() {
if [[ "$action" == "reset" ]]; then if [[ "$action" == "reset" ]]; then
rm -rf /var/config/es-de/ rm -rf /var/config/es-de/
mkdir -p /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" "ROMDirectory" "$roms_folder" "es_settings"
set_setting_value "$es_settings" "MediaDirectory" "$media_folder" "es_settings" set_setting_value "$es_settings" "MediaDirectory" "$media_folder" "es_settings"
set_setting_value "$es_settings" "UserThemeDirectory" "$themes_folder" "es_settings" set_setting_value "$es_settings" "UserThemeDirectory" "$themes_folder" "es_settings"
dir_prep "$rdhome/gamelists" "/var/config/ES-DE/gamelists" 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 update_splashscreens
fi fi
if [[ "$action" == "postmove" ]]; then if [[ "$action" == "postmove" ]]; then