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

View File

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

View File

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