mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-30 11:54:18 +01:00
Fix "Downgrade command not found"
also fix main menu items
This commit is contained in:
parent
5b773d3b4a
commit
5f27ef2db6
@ -61,7 +61,7 @@ Downgrade() {
|
|||||||
curl -L https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/raw/master/$ProductType/$BuildVer/index.html -o tmp/index.html
|
curl -L https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/raw/master/$ProductType/$BuildVer/index.html -o tmp/index.html
|
||||||
mv tmp/index.html resources/firmware/$ProductType/$BuildVer
|
mv tmp/index.html resources/firmware/$ProductType/$BuildVer
|
||||||
|
|
||||||
if [[ $DeviceProc != 7 ]]; then
|
elif [[ $DeviceProc != 7 ]]; then
|
||||||
Input "Jailbreak Option"
|
Input "Jailbreak Option"
|
||||||
Echo "* When this option is enabled, your device will be jailbroken on restore."
|
Echo "* When this option is enabled, your device will be jailbroken on restore."
|
||||||
if [[ $ProductType == "iPad2,5" || $ProductType == "iPad2,6" || $ProductType == "iPad2,7" ]]; then
|
if [[ $ProductType == "iPad2,5" || $ProductType == "iPad2,6" || $ProductType == "iPad2,7" ]]; then
|
||||||
|
10
restore.sh
10
restore.sh
@ -104,15 +104,11 @@ Main() {
|
|||||||
if [[ $SkipMainMenu == 1 && $1 != "NoColor" && $1 != "NoDevice" ]]; then
|
if [[ $SkipMainMenu == 1 && $1 != "NoColor" && $1 != "NoDevice" ]]; then
|
||||||
Mode="$1"
|
Mode="$1"
|
||||||
else
|
else
|
||||||
if [[ $1 != "NoDevice" ]]; then
|
[[ $1 != "NoDevice" ]] && Selection+=("Downgrade Device")
|
||||||
Selection+=("Downgrade Device")
|
|
||||||
fi
|
|
||||||
Selection+=("Save OTA Blobs")
|
Selection+=("Save OTA Blobs")
|
||||||
if [[ $DeviceProc != 7 ]] && [[ $DeviceState == "Normal" || $1 == "NoDevice" ]]; then
|
if [[ $DeviceProc != 7 ]]; then
|
||||||
Selection+=("Create Custom IPSW")
|
Selection+=("Create Custom IPSW")
|
||||||
fi
|
[[ $DeviceState == "Normal" ]] && Selection+=("Put Device in kDFU Mode")
|
||||||
if [[ $DeviceProc != 7 && $DeviceState == "Normal" ]]; then
|
|
||||||
Selection+=("Put Device in kDFU Mode")
|
|
||||||
fi
|
fi
|
||||||
Selection+=("(Re-)Install Dependencies" "(Any other key to exit)")
|
Selection+=("(Re-)Install Dependencies" "(Any other key to exit)")
|
||||||
Echo "*** Main Menu ***"
|
Echo "*** Main Menu ***"
|
||||||
|
Loading…
Reference in New Issue
Block a user