mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-23 16:39:17 +01:00
Adjust timeout of FindDevice
This commit is contained in:
parent
d36cb213c8
commit
20b98ef828
@ -14,7 +14,7 @@ FindDevice() {
|
|||||||
elif [[ $1 == "Restore" ]]; then
|
elif [[ $1 == "Restore" ]]; then
|
||||||
USB=1297
|
USB=1297
|
||||||
fi
|
fi
|
||||||
[[ -n $2 ]] && Timeout=5
|
[[ -n $2 ]] && Timeout=10
|
||||||
|
|
||||||
Log "Finding device in $1 mode..."
|
Log "Finding device in $1 mode..."
|
||||||
while (( i < Timeout )); do
|
while (( i < Timeout )); do
|
||||||
|
Loading…
Reference in New Issue
Block a user