Some changes

This commit is contained in:
LukeZGD 2022-07-03 09:51:54 +08:00
parent 69cea0c47b
commit d60400a77f
3 changed files with 5 additions and 4 deletions

View File

@ -113,7 +113,7 @@ DowngradeOTA() {
SaveOTABlobs SaveOTABlobs
IPSWFindVerify IPSWFindVerify
kDFU kDFU
if [[ $Jailbreak == 1 ]]; then if [[ $Jailbreak == 1 || $ProductType == "iPad2,3" ]]; then
IPSW32 IPSW32
else else
IPSWCustom=0 IPSWCustom=0
@ -225,7 +225,7 @@ Downgrade4() {
IPSWSetExtract IPSWSetExtract
iDeviceRestore latest iDeviceRestore latest
return return
else elif [[ $OSVer != "7.1.2" ]]; then
IPSWFindVerify 712 IPSWFindVerify 712
fi fi
IPSW4 IPSW4

View File

@ -204,6 +204,7 @@ IPSW32() {
done done
fi fi
if [[ $platform == "win" ]]; then if [[ $platform == "win" ]]; then
BBUpdate=
WinBundles="windows/" WinBundles="windows/"
elif [[ $ProductType == "iPad2,3" ]]; then elif [[ $ProductType == "iPad2,3" ]]; then
BBUpdate= BBUpdate=

View File

@ -163,7 +163,7 @@ Main() {
if [[ $DeviceProc == 4 && $OSVer == "7.1.2" ]]; then if [[ $DeviceProc == 4 && $OSVer == "7.1.2" ]]; then
Log "Creating custom IPSW is not needed for non-jailbroken 7.1.2 restores." Log "Creating custom IPSW is not needed for non-jailbroken 7.1.2 restores."
ExitWin 0 ExitWin 0
else elif [[ $ProductType != "iPad2,3" ]]; then
Log "Creating custom IPSW is not needed for non-jailbroken restores on your device." Log "Creating custom IPSW is not needed for non-jailbroken restores on your device."
ExitWin 0 ExitWin 0
fi fi
@ -171,7 +171,7 @@ Main() {
IPSWFindVerify IPSWFindVerify
if [[ $DeviceProc == 4 ]]; then if [[ $DeviceProc == 4 ]]; then
IPSWFindVerify 712 [[ $OSVer != "7.1.2" ]] && IPSWFindVerify 712
IPSW4 IPSW4
else else
IPSW32 IPSW32