Skip to content

Commit

Permalink
Update restore.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeZGD committed Sep 14, 2023
1 parent a74ecb2 commit 9c5b832
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3043,8 +3043,7 @@ device_ramdisk() {
iPod2,1 ) device_target_build="8C148";;
iPod3,1 | iPad1,1 ) device_target_build="9B206";;
iPhone2,1 | iPod4,1 ) device_target_build="10B500";;
iPhone5,3 ) device_target_build="11B511";;
iPhone5,4 ) device_target_build="11B651";;
iPhone5,[34] ) device_target_build="11D257";;
* ) device_target_build="10B329";;
esac
if [[ -n $device_ramdisk_build ]]; then
Expand Down Expand Up @@ -3394,10 +3393,10 @@ device_ramdisk() {
}

shsh_save_onboard() {
if [[ $device_proc == 5 ]]; then
device_enter_mode kDFU
elif [[ $device_proc == 4 ]] || [[ $device_proc == 6 && $platform == "macos" ]]; then
if [[ $device_proc == 4 ]] || [[ $device_proc == 6 && $platform == "macos" ]]; then
device_buttons
else
device_enter_mode kDFU
fi
if [[ $device_proc == 4 ]]; then
patch_ibss
Expand Down

0 comments on commit 9c5b832

Please sign in to comment.