diff --git a/emu-configs/defaults/retrodeck/retrodeck.cfg b/emu-configs/defaults/retrodeck/retrodeck.cfg index 9e824ece..88a33896 100644 --- a/emu-configs/defaults/retrodeck/retrodeck.cfg +++ b/emu-configs/defaults/retrodeck/retrodeck.cfg @@ -6,8 +6,8 @@ roms_folder=/home/deck/retrodeck/roms saves_folder=/home/deck/retrodeck/saves states_folder=/home/deck/retrodeck/states bios_folder=/home/deck/retrodeck/bios -media_folder=/home/deck/retrodeck/downloaded_media -themes_folder=/home/deck/retrodeck/themes +media_folder=/home/deck/retrodeck/ES-DE/downloaded_media +themes_folder=/home/deck/retrodeck/ES-DE/themes logs_folder=/home/deck/retrodeck/logs screenshots_folder=/home/deck/retrodeck/screenshots mods_folder=/home/deck/retrodeck/mods diff --git a/functions/post_update.sh b/functions/post_update.sh index dc074924..10050446 100644 --- a/functions/post_update.sh +++ b/functions/post_update.sh @@ -307,6 +307,11 @@ post_update() { log d "ES-DE files were moved inside the retrodeck folder, migrating to the new structure" dir_prep "$rdhome/ES-DE/collections" "/var/config/ES-DE/collections" dir_prep "$rdhome/ES-DE/gamelists" "/var/config/ES-DE/gamelists" + log i "Moving ES-DE collections, downloaded_media, gamelist, and themes from \"$rdhome\" to \"$rdhome/ES-DE\"" + set_setting_value "$es_settings" "MediaDirectory" "$rdhome/ES-DE/downloaded_media" "es_settings" + set_setting_value "$es_settings" "UserThemeDirectory" "$rdhome/ES-DE/themes" "es_settings" + mv -f "$rdhome/themes" "$rdhome/ES-DE/themes" + mv -f "$rdhome/downloaded_media" "$rdhome/ES-DE/downloaded_media" mv -f "$rdhome/gamelists/"* "$rdhome/ES-DE/gamelists" rm -rf "$rdhome/gamelists" diff --git a/net.retrodeck.retrodeck.appdata.xml b/net.retrodeck.retrodeck.appdata.xml index dd74b2de..f8be894b 100644 --- a/net.retrodeck.retrodeck.appdata.xml +++ b/net.retrodeck.retrodeck.appdata.xml @@ -74,7 +74,7 @@