Update some messages

This commit is contained in:
LukeZGD 2022-10-08 12:25:24 +08:00
parent 5b1fea684f
commit 3adcd8bd2d
2 changed files with 9 additions and 3 deletions

View File

@ -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
}

View File

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