From 18d25af99ca3aba74ba20be747238f0df7ca84da Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Sat, 27 May 2023 17:05:59 +0800 Subject: [PATCH] Fix jb not applied on 6.x powdersn0w iPhone3,1 --- restore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restore.sh b/restore.sh index 2916ff7..db08231 100755 --- a/restore.sh +++ b/restore.sh @@ -1797,7 +1797,7 @@ ipsw_prepare_powder() { if [[ $device_target_vers == "4.3"* ]]; then ExtraArgs+="-apticket $shsh_path" fi - if [[ $ipsw_jailbreak == 1 && -z ${JBFiles[0]} ]]; then + if [[ $ipsw_jailbreak == 1 && $device_target_vers == "6"* ]]; then ipsw_prepare_config true true else ipsw_prepare_config false true