From 7a660bd67addce9e5f06087dfb211484f35473f3 Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Sun, 7 Aug 2022 15:52:20 +0800 Subject: [PATCH] Add messages on Windows and jailbreak option --- resources/depends.sh | 10 ++++++++-- resources/ipsw.sh | 6 ++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/resources/depends.sh b/resources/depends.sh index 7d7ca14..497435b 100755 --- a/resources/depends.sh +++ b/resources/depends.sh @@ -90,9 +90,15 @@ SetToolPaths() { rmsigchks="$(which python2) rmsigchks.py" SimpleHTTPServer="$python -m http.server 8888" fi - else + elif [[ $platform == "win" ]]; then ping="ping -n 1" - zenity="./resources/tools/zenity_$platform" + Log "WARNING - Using iOS-OTA-Downgrader on Windows is highly discouraged." + Echo "* Please use it on Linux or macOS instead." + Echo "* You may still continue, but you may encounter problems with restoring and activation." + Echo "* You have been warned." + sleep 5 + Input "Press Enter/Return to continue anyway (or press Ctrl+C to cancel)" + read -s fi Log "Running on platform: $platform ($platformver)" diff --git a/resources/ipsw.sh b/resources/ipsw.sh index ee873c1..2499fd0 100755 --- a/resources/ipsw.sh +++ b/resources/ipsw.sh @@ -45,8 +45,10 @@ JailbreakOption() { echo 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 - Echo "* Based on some reported issues, Jailbreak Option might be broken for iPad mini 1 devices." + if [[ $OSVer == "6.1.3" ]]; then + Echo "* I recommend to enable this for iOS 6.1.3, since it is hard to get p0sixspwn to work." + elif [[ $OSVer == "8.4.1" ]]; then + Echo "* Based on some reported issues, Jailbreak Option might not work properly for iOS 8.4.1." Echo "* I recommend to disable the option for these devices and sideload EtasonJB, HomeDepot, or daibutsu manually." fi Echo "* This option is enabled by default (Y)."