From dff3dbdf6a0242466de60a4c87d2d17edfb4243d Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Tue, 4 Apr 2023 16:53:54 +0800 Subject: [PATCH] Fix ipsw_preference_set --- restore.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/restore.sh b/restore.sh index 569dc7d..48a54ca 100755 --- a/restore.sh +++ b/restore.sh @@ -1122,9 +1122,7 @@ patch_ibec() { ipsw_preference_set() { # sets ipsw variables: ipsw_jailbreak, ipsw_jailbreak_tool, ipsw_memory, ipsw_verbose - if [[ $device_target_vers == "$device_latest_vers" && $device_type == "iPhone3"* ]]; then - return - elif (( device_proc >= 7 )); then + if [[ $device_target_vers == "$device_latest_vers" && $device_type != "iPhone3"* ]] || (( device_proc >= 7 )); then return fi