mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
ES-DE: added more debug messages in ES-DE folders migration
This commit is contained in:
parent
d3ff25f51c
commit
8878d6cc8a
|
@ -304,20 +304,21 @@ post_update() {
|
|||
log i "In version 0.8.1b, the following changes were made that required config file updates/reset or other changes to the filesystem:"
|
||||
log i "- ES-DE files were moved inside the retrodeck folder, migrating to the new structure"
|
||||
log i "- Give the user the option to reset Ryujinx, which was not properly initialized in 0.8.0b"
|
||||
|
||||
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"
|
||||
mv -f "$rdhome/themes" "$rdhome/ES-DE/themes" && log d "Move of \"$rdhome/themes\" completed"
|
||||
mv -f "$rdhome/downloaded_media" "$rdhome/ES-DE/downloaded_media" && log d "Move of \"$rdhome/downloaded_media\" completed"
|
||||
mv -f "$rdhome/gamelists/"* "$rdhome/ES-DE/gamelists" && log d "Move of \"$rdhome/gamelists/\" completed"
|
||||
rm -rf "$rdhome/gamelists"
|
||||
|
||||
log i "MAME-SA, migrating samples to the new exposed folder: from \"/var/data/mame/assets/samples\" to \"$bios_folder/mame-sa/samples\""
|
||||
create_dir "$bios_folder/mame-sa/samples"
|
||||
mv -r "/var/data/mame/assets/samples/"* "$bios_folder/mame-sa/samples"
|
||||
mv -f "/var/data/mame/assets/samples/"* "$bios_folder/mame-sa/samples"
|
||||
set_setting_value "$mameconf" "samplepath" "$bios_folder/mame-sa/samples" "mame"
|
||||
|
||||
log i "Installing the missing ScummVM assets and renaming \"$mods_folder/RetroArch/ScummVM/themes\" into \"theme\""
|
||||
|
|
Loading…
Reference in a new issue