From 3adcd8bd2d30271d651a6248257d31f9fa46765d Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Sat, 8 Oct 2022 12:25:24 +0800 Subject: [PATCH] Update some messages --- resources/downgrade.sh | 4 ++-- restore.sh | 8 +++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/resources/downgrade.sh b/resources/downgrade.sh index 82338a0..fab4e23 100755 --- a/resources/downgrade.sh +++ b/resources/downgrade.sh @@ -73,7 +73,7 @@ FutureRestore() { Log "Restoring done! Read the message below if any error has occurred:" Echo "* Please read the \"Troubleshooting\" wiki page in GitHub before opening any issue!" Echo "* Your problem may have already been addressed within the wiki page." - Echo "* If opening an issue in GitHub, please provide a FULL log. Otherwise, your issue may be dismissed." + Echo "* If opening an issue in GitHub, please provide a FULL log/output. Otherwise, your issue may be dismissed." echo } @@ -161,7 +161,7 @@ iDeviceRestore() { fi Echo "* Please read the \"Troubleshooting\" wiki page in GitHub before opening any issue!" Echo "* Your problem may have already been addressed within the wiki page." - Echo "* If opening an issue in GitHub, please provide a FULL log. Otherwise, your issue may be dismissed." + Echo "* If opening an issue in GitHub, please provide a FULL log/output. Otherwise, your issue may be dismissed." echo } diff --git a/restore.sh b/restore.sh index f398b5d..873cc66 100755 --- a/restore.sh +++ b/restore.sh @@ -90,7 +90,8 @@ Main() { Echo "Version: $(cat resources/git_hash)" else Echo "Version: Unknown" - Echo "* I recommend downloading iOS-OTA-Downgrader from the GitHub releases page" + Error "git_hash or .git not found. Your copy of iOS-OTA-Downgrader is downloaded incorrectly." \ + "Please download iOS-OTA-Downgrader from the GitHub releases page or using git clone." fi SetToolPaths @@ -323,6 +324,11 @@ SelectVersion() { [[ $Mode == "IPSW32" ]] && Selection+=("7.1.2") [[ $ProductType != "iPhone3,2" ]] && Selection+=("6.1.3") + if [[ $platform == "macos" ]]; then + Echo "* Using iPhone4Down on macOS is not recommended for downgrading." + Echo "* Please use powdersn0w or cherryflowerJB from dora2ios instead." + fi + if [[ $ProductType == "iPhone3,1" ]]; then Selection+=("5.1.1 (9B208)" "5.1.1 (9B206)") Selection2=("6.1.2" "6.1" "6.0.1" "6.0" "5.1" "5.0.1" "5.0")