From 454b5b027bb2ccded44c10e7ee34d7a676ffddd1 Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Tue, 18 Apr 2023 18:27:28 +0800 Subject: [PATCH] Fix some things --- restore.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/restore.sh b/restore.sh index 6c97795..0a852eb 100755 --- a/restore.sh +++ b/restore.sh @@ -1410,7 +1410,7 @@ ipsw_prepare_jailbreak() { cp -R ../resources/firmware/FirmwareBundles . fi - if [[ $device_type != "$device_disable_bbupdate" && $device_proc != 4 ]]; then + if [[ $device_use_bb != 0 && $device_type != "$device_disable_bbupdate" && $device_proc != 4 ]]; then ExtraArgs+=" -bbupdate" fi if [[ $ipsw_memory == 1 ]]; then @@ -1819,7 +1819,7 @@ ipsw_prepare_powder2() { if [[ $ipsw_jailbreak == 1 ]]; then cp ../resources/jailbreak/freeze.tar . fi - if [[ $device_type != "$device_disable_bbupdate" && $device_proc != 4 ]]; then + if [[ $device_use_bb != 0 && $device_type != "$device_disable_bbupdate" ]]; then ExtraArgs+="-bbupdate" fi if [[ $ipsw_memory == 1 ]]; then @@ -2024,7 +2024,7 @@ restore_futurerestore() { futurerestore2+="_new" fi elif [[ $device_target_other != 1 && $device_target_vers == "10.3.3" && $device_proc == 7 ]]; then - futurerestore2+="_194" + futurerestore2="$dir/futurerestore_194" ipsw_path="$ipsw_custom" fi ExtraArgs+=("-t" "$shsh_path" "$ipsw_path.ipsw")