ES-DE: moving themes and downloaded_media in rdhome/ES-DE folder

This commit is contained in:
XargonWan 2024-05-04 10:13:30 +02:00
parent d4f78cb196
commit 33993a2f9e
5 changed files with 10 additions and 5 deletions

View file

@ -6,8 +6,8 @@ roms_folder=/home/deck/retrodeck/roms
saves_folder=/home/deck/retrodeck/saves saves_folder=/home/deck/retrodeck/saves
states_folder=/home/deck/retrodeck/states states_folder=/home/deck/retrodeck/states
bios_folder=/home/deck/retrodeck/bios bios_folder=/home/deck/retrodeck/bios
media_folder=/home/deck/retrodeck/downloaded_media media_folder=/home/deck/retrodeck/ES-DE/downloaded_media
themes_folder=/home/deck/retrodeck/themes themes_folder=/home/deck/retrodeck/ES-DE/themes
logs_folder=/home/deck/retrodeck/logs logs_folder=/home/deck/retrodeck/logs
screenshots_folder=/home/deck/retrodeck/screenshots screenshots_folder=/home/deck/retrodeck/screenshots
mods_folder=/home/deck/retrodeck/mods mods_folder=/home/deck/retrodeck/mods

View file

@ -307,6 +307,11 @@ post_update() {
log d "ES-DE files were moved inside the retrodeck folder, migrating to the new structure" 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/collections" "/var/config/ES-DE/collections"
dir_prep "$rdhome/ES-DE/gamelists" "/var/config/ES-DE/gamelists" 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" mv -f "$rdhome/gamelists/"* "$rdhome/ES-DE/gamelists"
rm -rf "$rdhome/gamelists" rm -rf "$rdhome/gamelists"

@ -1 +1 @@
Subproject commit bd9653bb7bfcd05692a8eb8ca6862468dec88325 Subproject commit c2aad98600a47ab250f1b133328d0ccc1310f65e

@ -1 +1 @@
Subproject commit 72ec964e090cfa76905fc26d19797f99b8fc07f7 Subproject commit ea1dae930a6f61388c2b5e05f95bb6ed0120926e

@ -1 +1 @@
Subproject commit 782d3cc04ccdd8071017f622d4bacd35faecbd86 Subproject commit f63cb3f5fff835c141769d35cd54ce0ae042fcbf