Update restore.sh

This commit is contained in:
LukeZGD 2023-09-27 16:43:58 +08:00
parent df0f2eb1eb
commit d5d95f4c28

View File

@ -2904,11 +2904,7 @@ restore_prepare() {
elif [[ $device_target_vers == "4.1" || $device_target_vers == "$device_latest_vers" ]]; then elif [[ $device_target_vers == "4.1" || $device_target_vers == "$device_latest_vers" ]]; then
if [[ $ipsw_jailbreak == 1 ]]; then if [[ $ipsw_jailbreak == 1 ]]; then
shsh_save version $device_target_vers shsh_save version $device_target_vers
if [[ $device_target_vers == "4.1" ]]; then
device_target_mode pwnDFU device_target_mode pwnDFU
else
device_buttons
fi
restore_idevicerestore restore_idevicerestore
else else
restore_latest restore_latest