diff --git a/melonds/component_update.sh b/melonds/component_update.sh index 4d6377ea..c80a0562 100644 --- a/melonds/component_update.sh +++ b/melonds/component_update.sh @@ -4,3 +4,12 @@ # These actions happen conditionally based on the version being upgraded ######################################################################### +if [[ $(check_version_is_older_than "$version_being_updated" "0.10.1b") == "true" ]]; then + + log i "0.10.1b Upgrade - Fix Bios Path: MelonDS" + + set_setting_value "$melonds_config" "BIOS9Path" "$bios_path/bios9.bin" "DS" "melonds" + set_setting_value "$melonds_config" "BIOS7Path" "$bios_path/bios7.bin" "DS" "melonds" + set_setting_value "$melonds_config" "FirmwarePath" "$bios_path/firmware.bin" "DS" "melonds" + +fi diff --git a/ryubing/component_prepare.sh b/ryubing/component_prepare.sh index b1ee71b8..fefc6b54 100755 --- a/ryubing/component_prepare.sh +++ b/ryubing/component_prepare.sh @@ -12,9 +12,6 @@ if [[ "$action" == "reset" ]]; then # Run reset-only commands log i "Resetting $component_name" log i "------------------------" - # removing config directory to wipe legacy files - log d "Removing \"$XDG_CONFIG_HOME/Ryujinx\"" - rm -rf "$XDG_CONFIG_HOME/Ryujinx" create_dir "$XDG_CONFIG_HOME/Ryujinx/system" create_dir "$ryubing_profiles_path" cp -fv "$component_config/Config.json" "$ryubing_config"