Update restore.sh

This commit is contained in:
LukeZGD 2023-09-01 22:47:54 +08:00
parent 096501374f
commit 2dab9e476b

View File

@ -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