mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-30 11:54:18 +01:00
Check for WTF mode in getting device info
forgot to add this
This commit is contained in:
parent
c14d712851
commit
3443a3b5d2
@ -544,7 +544,7 @@ device_get_info() {
|
|||||||
|
|
||||||
log "Getting device info..."
|
log "Getting device info..."
|
||||||
case $device_mode in
|
case $device_mode in
|
||||||
"DFU" | "Recovery" )
|
"WTF" | "DFU" | "Recovery" )
|
||||||
#device_type=$($irecovery -q | grep "PRODUCT" | cut -c 10-)
|
#device_type=$($irecovery -q | grep "PRODUCT" | cut -c 10-)
|
||||||
local ProdCut=7 # cut 7 for ipod/ipad
|
local ProdCut=7 # cut 7 for ipod/ipad
|
||||||
device_type=$($irecovery -qv 2>&1 | grep "Connected to iP" | cut -c 14-)
|
device_type=$($irecovery -qv 2>&1 | grep "Connected to iP" | cut -c 14-)
|
||||||
|
Loading…
Reference in New Issue
Block a user