From f9deca8866088f6c2e3a0ab0815a64e4d2fdc798 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Thu, 15 Aug 2024 13:58:32 +0900 Subject: [PATCH] RETROARCH: fixed core info path even in post_update --- functions/post_update.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/functions/post_update.sh b/functions/post_update.sh index f5fed10e..146a8d10 100644 --- a/functions/post_update.sh +++ b/functions/post_update.sh @@ -374,8 +374,12 @@ post_update() { fi fi - # if [[ $(check_version_is_older_than "0.9.0b") == "true" ]]; then - # # Placeholder for version 0.9.0b + if [[ $(check_version_is_older_than "0.9.0b") == "true" ]]; then + # Placeholder for version 0.9.0b + + set_setting_value "$raconf" "libretro_info_path" "/var/config/retroarch/cores" "retroarch" + + # TODO: check this # rm /var/config/emulationstation/.emulationstation # remving the old symlink to .emulationstation as it might be not needed anymore # TODO: change RETRODECKHOMEDIR/bios/cemu in config/cemu/settings.xml into RETRODECKHOMEDIR/bios/cemu/mlc # if [ ! -d "$bios_folder/cemu/mlc" ]; then @@ -391,7 +395,7 @@ post_update() { # TODO: is this true? # log i "Since in this version we restored Ryujinx to a main buikd we don't need the symlink anymore." # rm "$(dirname $ryujinxconf)/PRConfig.json" - # fi + fi # The following commands are run every time.