Check for iproxy

This commit is contained in:
LukeeGD 2020-08-04 16:24:19 +08:00
parent 8af72a66bd
commit 66e64ed1b2

View File

@ -204,6 +204,7 @@ function kDFU {
[[ $VersionDetect == 5 ]] && kloader='kloader5' [[ $VersionDetect == 5 ]] && kloader='kloader5'
[[ ! $kloader ]] && kloader='kloader' [[ ! $kloader ]] && kloader='kloader'
[ ! $(which iproxy) ] && Error "One of the dependencies (iproxy) cannot be found. Please re-install dependencies and try again" "./restore.sh InstallDependencies"
iproxy 2222:22 &>/dev/null & iproxy 2222:22 &>/dev/null &
iproxyPID=$! iproxyPID=$!
WifiAddr=$(echo "$ideviceinfo" | grep 'WiFiAddress' | cut -c 14-) WifiAddr=$(echo "$ideviceinfo" | grep 'WiFiAddress' | cut -c 14-)