From d5d95f4c287b9d61acfc38fb84f5bbd6f9675306 Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Wed, 27 Sep 2023 16:43:58 +0800 Subject: [PATCH] Update restore.sh --- restore.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/restore.sh b/restore.sh index 693f546..c19e330 100755 --- a/restore.sh +++ b/restore.sh @@ -2904,11 +2904,7 @@ restore_prepare() { elif [[ $device_target_vers == "4.1" || $device_target_vers == "$device_latest_vers" ]]; then if [[ $ipsw_jailbreak == 1 ]]; then shsh_save version $device_target_vers - if [[ $device_target_vers == "4.1" ]]; then - device_target_mode pwnDFU - else - device_buttons - fi + device_target_mode pwnDFU restore_idevicerestore else restore_latest