2
0
mirror of https://github.com/LukeZGD/Legacy-iOS-Kit.git synced 2025-04-20 21:51:24 +02:00

Set device_mode to DFU

This commit is contained in:
LukeZGD 2023-09-03 21:12:34 +08:00
parent 0adf014d99
commit feb987d33c

@ -929,6 +929,7 @@ device_dfuhelper() {
opt=$?
if [[ $opt == 1 ]]; then
log "Found device in DFU mode."
device_mode="DFU"
return
fi
print "* Get ready..."
@ -943,6 +944,7 @@ device_dfuhelper() {
opt=$?
if [[ $opt == 1 ]]; then
echo -e "\n$(log 'Found device in DFU mode.')"
device_mode="DFU"
return
fi
sleep 1
@ -954,6 +956,7 @@ device_dfuhelper() {
opt=$?
if [[ $opt == 1 ]]; then
echo -e "\n$(log 'Found device in DFU mode.')"
device_mode="DFU"
return
fi
sleep 1