mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-23 23:01:49 +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"
|
||||
fi
|
||||
|
||||
if [[ -z $device_mode && $($ideviceinfo -s 2>/dev/null) != "ERROR"* ]]; then
|
||||
$ideviceinfo -s >/dev/null
|
||||
if [[ $? == 0 ]]; then
|
||||
device_mode="Normal"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user