LOG: removing old ES-DE logs folders

This commit is contained in:
XargonWan 2024-11-29 11:38:19 +09:00
parent 5c5e671248
commit a5f443cb86
2 changed files with 5 additions and 2 deletions

View file

@ -442,6 +442,9 @@ post_update() {
update_rd_conf update_rd_conf
prepare_component "reset" "steam-rom-manager" prepare_component "reset" "steam-rom-manager"
rm -rf "$rd_logs_folder/ES-DE" && log d "Removing the logs/ES-DE folder as we don't need it anymore"
rm -rf "$es_source_logs" && mkdir -p "$es_source_logs"
# TODO: check this # TODO: check this
# rm /var/config/emulationstation/.emulationstation # remving the old symlink to .emulationstation as it might be not needed anymore # rm /var/config/emulationstation/.emulationstation # remving the old symlink to .emulationstation as it might be not needed anymore
# TODO: change <mlc_path>RETRODECKHOMEDIR/bios/cemu</mlc_path> in config/cemu/settings.xml into <mlc_path>RETRODECKHOMEDIR/bios/cemu/mlc</mlc_path> # TODO: change <mlc_path>RETRODECKHOMEDIR/bios/cemu</mlc_path> in config/cemu/settings.xml into <mlc_path>RETRODECKHOMEDIR/bios/cemu/mlc</mlc_path>
@ -456,7 +459,7 @@ post_update() {
# ln -s "$bios_folder/cemu/mlc/keys.txt" "/var/data/Cemu/keys.txt" <--- AND THIS SHOULD BE EVEN PUT IN THE PREPARATION SCRIPT # ln -s "$bios_folder/cemu/mlc/keys.txt" "/var/data/Cemu/keys.txt" <--- AND THIS SHOULD BE EVEN PUT IN THE PREPARATION SCRIPT
# fi # fi
# TODO: is this true? # TODO: is this true?
# log i "Since in this version we restored Ryujinx to a main buikd we don't need the symlink anymore." # log i "Since in this version we restored Ryujinx to a main build we don't need the symlink anymore."
# rm "$(dirname $ryujinxconf)/PRConfig.json" # rm "$(dirname $ryujinxconf)/PRConfig.json"
fi fi

View file

@ -67,7 +67,7 @@ prepare_component() {
dir_prep "$rdhome/ES-DE/gamelists" "/var/config/ES-DE/gamelists" dir_prep "$rdhome/ES-DE/gamelists" "/var/config/ES-DE/gamelists"
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/custom_systems" "/var/config/ES-DE/custom_systems" dir_prep "$rdhome/ES-DE/custom_systems" "/var/config/ES-DE/custom_systems"
dir_prep "$rd_logs_folder/ES-DE" "$es_source_logs" #dir_prep "$rd_logs_folder/ES-DE" "$es_source_logs"
log d "Generating roms system folders" log d "Generating roms system folders"
#es-de --home /var/config/ES-DE --create-system-dirs #es-de --home /var/config/ES-DE --create-system-dirs
es-de --create-system-dirs es-de --create-system-dirs