Fix ipsw_preference_set

This commit is contained in:
LukeZGD 2023-04-04 16:53:54 +08:00
parent a021f6f0ce
commit dff3dbdf6a

View File

@ -1122,9 +1122,7 @@ patch_ibec() {
ipsw_preference_set() { ipsw_preference_set() {
# sets ipsw variables: ipsw_jailbreak, ipsw_jailbreak_tool, ipsw_memory, ipsw_verbose # sets ipsw variables: ipsw_jailbreak, ipsw_jailbreak_tool, ipsw_memory, ipsw_verbose
if [[ $device_target_vers == "$device_latest_vers" && $device_type == "iPhone3"* ]]; then if [[ $device_target_vers == "$device_latest_vers" && $device_type != "iPhone3"* ]] || (( device_proc >= 7 )); then
return
elif (( device_proc >= 7 )); then
return return
fi fi