mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-27 10:24:16 +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..."
|
||||
case $device_mode in
|
||||
"DFU" | "Recovery" )
|
||||
"WTF" | "DFU" | "Recovery" )
|
||||
#device_type=$($irecovery -q | grep "PRODUCT" | cut -c 10-)
|
||||
local ProdCut=7 # cut 7 for ipod/ipad
|
||||
device_type=$($irecovery -qv 2>&1 | grep "Connected to iP" | cut -c 14-)
|
||||
|
Loading…
Reference in New Issue
Block a user