mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2025-04-07 11:57:55 +02:00
Update restore.sh
This commit is contained in:
parent
20fd43cfdc
commit
3bbc7e709d
@ -1565,7 +1565,7 @@ device_dfuhelper() {
|
||||
fi
|
||||
device_find_all $1
|
||||
opt=$?
|
||||
if [[ $opt == 1 ]]; then
|
||||
if [[ $opt == 1 && $mode != "device_dfuhelper" ]]; then
|
||||
log "Found device in DFU mode."
|
||||
device_mode="DFU"
|
||||
return
|
||||
@ -1610,7 +1610,7 @@ device_dfuhelper() {
|
||||
echo -n "$i "
|
||||
device_find_all $1
|
||||
opt=$?
|
||||
if [[ $opt == 1 ]]; then
|
||||
if [[ $opt == 1 && $mode != "device_dfuhelper" ]]; then
|
||||
echo -e "\n$(log 'Found device in DFU mode.')"
|
||||
device_mode="DFU"
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user