Check for WTF mode in getting device info

forgot to add this
This commit is contained in:
LukeZGD 2023-09-01 21:47:15 +08:00
parent c14d712851
commit 3443a3b5d2

View File

@ -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-)