SaveExternal first before detect

This commit is contained in:
LukeeGD 2020-08-14 12:27:55 +08:00 committed by GitHub
parent cdc9d7d1e5
commit 59c8bbc8de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,12 +71,12 @@ function Main {
UniqueDeviceID=$(echo "$ideviceinfo2" | grep 'UniqueDeviceID' | cut -c 17-) UniqueDeviceID=$(echo "$ideviceinfo2" | grep 'UniqueDeviceID' | cut -c 17-)
fi fi
[ ! $ProductType ] && ProductType=0 [ ! $ProductType ] && ProductType=0
SaveExternal iOS-OTA-Downgrader-Keys
SaveExternal ipwndfu
BasebandDetect BasebandDetect
Clean Clean
mkdir tmp mkdir tmp
chmod +x resources/tools/* chmod +x resources/tools/*
SaveExternal iOS-OTA-Downgrader-Keys
SaveExternal ipwndfu
if [[ $DFUDevice == 1 ]] && [[ $A7Device != 1 ]]; then if [[ $DFUDevice == 1 ]] && [[ $A7Device != 1 ]]; then
Mode='Downgrade' Mode='Downgrade'