mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-27 10:24:16 +01:00
Attempt fixing device detect
This commit is contained in:
parent
6dc5159be4
commit
d8d2689b5d
@ -374,7 +374,8 @@ device_get_info() {
|
|||||||
device_vers="Unknown"
|
device_vers="Unknown"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z $device_mode && $($ideviceinfo -s 2>/dev/null) != "ERROR"* ]]; then
|
$ideviceinfo -s >/dev/null
|
||||||
|
if [[ $? == 0 ]]; then
|
||||||
device_mode="Normal"
|
device_mode="Normal"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user