diff --git a/functions.sh b/functions.sh index 244139e6..20367553 100644 --- a/functions.sh +++ b/functions.sh @@ -1370,9 +1370,10 @@ finit() { # XMLSTARLET HERE cp -fv /app/retrodeck/es_settings.xml /var/config/emulationstation/.emulationstation/es_settings.xml - # ES-DE preparing themes and scraped folders + # ES-DE preparing user-exposed folders dir_prep "$media_folder" "/var/config/emulationstation/.emulationstation/downloaded_media" dir_prep "$themes_folder" "/var/config/emulationstation/.emulationstation/themes" + dir_prep "$rdhome/gamelists" "/var/config/emulationstation/.emulationstation/gamelists" # PICO-8 dir_prep "$bios_folder/pico-8" "$HOME/.lexaloffle/pico-8" # Store binary and config files together. The .lexaloffle directory is a hard-coded location for the PICO-8 config file, cannot be changed diff --git a/post_update.sh b/post_update.sh index 7d861cab..f4a178e3 100644 --- a/post_update.sh +++ b/post_update.sh @@ -45,6 +45,7 @@ post_update() { if [[ $prev_version -le "070" ]]; then # In version 0.7.0b, the following changes were made that required config file updates/reset or other changes to the filesystem: # - New ~/retrodeck/mods and ~/retrodeck/texture_packs directories are added and symlinked to multiple different emulators (where supported) + # - Expose ES-DE gamelists folder to user at ~/retrodeck/gamelists mkdir -p "$mods_folder" mkdir -p "$texture_packs_folder" @@ -52,6 +53,8 @@ post_update() { dir_prep "$texture_packs_folder/Primehack" "/var/data/primehack/Load/Textures/" dir_prep "$mods_folder/Dolphin" "/var/data/dolphin-emu/Load/GraphicMods/" dir_prep "$texture_packs_folder/Dolphin" "/var/data/dolphin-emu/Load/Textures/" + + dir_prep "$rdhome/gamelists" "/var/config/emulationstation/.emulationstation/gamelists" fi # The following commands are run every time.