mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-23 16:39:17 +01:00
Update restore.sh
This commit is contained in:
parent
096501374f
commit
2dab9e476b
@ -2732,6 +2732,10 @@ restore_prepare_1033() {
|
||||
|
||||
device_buttons() {
|
||||
local opt
|
||||
if [[ $device_mode != "Normal" ]]; then
|
||||
device_enter_mode pwnDFU
|
||||
return
|
||||
fi
|
||||
print "* This device needs to be in pwnDFU/kDFU mode before proceeding."
|
||||
print "* Select Y for pwnDFU mode, N for kDFU mode. Select Y if unsure."
|
||||
read -p "$(input 'Are both your home and power buttons working properly? (Y/n): ')" opt
|
||||
|
Loading…
Reference in New Issue
Block a user