Add messages on Windows and jailbreak option

This commit is contained in:
LukeZGD 2022-08-07 15:52:20 +08:00
parent f83cbe2d6a
commit 7a660bd67a
2 changed files with 12 additions and 4 deletions

View File

@ -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)"

View File

@ -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)."