mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-23 23:01:49 +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
|
||||
mv tmp/index.html resources/firmware/$ProductType/$BuildVer
|
||||
|
||||
if [[ $DeviceProc != 7 ]]; then
|
||||
elif [[ $DeviceProc != 7 ]]; then
|
||||
Input "Jailbreak Option"
|
||||
Echo "* When this option is enabled, your device will be jailbroken on restore."
|
||||
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
|
||||
Mode="$1"
|
||||
else
|
||||
if [[ $1 != "NoDevice" ]]; then
|
||||
Selection+=("Downgrade Device")
|
||||
fi
|
||||
[[ $1 != "NoDevice" ]] && Selection+=("Downgrade Device")
|
||||
Selection+=("Save OTA Blobs")
|
||||
if [[ $DeviceProc != 7 ]] && [[ $DeviceState == "Normal" || $1 == "NoDevice" ]]; then
|
||||
if [[ $DeviceProc != 7 ]]; then
|
||||
Selection+=("Create Custom IPSW")
|
||||
fi
|
||||
if [[ $DeviceProc != 7 && $DeviceState == "Normal" ]]; then
|
||||
Selection+=("Put Device in kDFU Mode")
|
||||
[[ $DeviceState == "Normal" ]] && Selection+=("Put Device in kDFU Mode")
|
||||
fi
|
||||
Selection+=("(Re-)Install Dependencies" "(Any other key to exit)")
|
||||
Echo "*** Main Menu ***"
|
||||
|
Loading…
Reference in New Issue
Block a user