From c8a6a76b5b8726429662abc64d9a84d4729bfc9c Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Tue, 19 Mar 2024 22:10:35 +0800 Subject: [PATCH] Add message for wikiproxy if needed for cases like #440 --- restore.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/restore.sh b/restore.sh index 5c84d9e..26a0cc1 100755 --- a/restore.sh +++ b/restore.sh @@ -1571,7 +1571,10 @@ device_fw_key_check() { fi done if [[ $(cat index.html | grep -c "$build") != 1 ]]; then - error "Failed to download firmware keys." + local error_msg="* You may need to run wikiproxy to get firmware keys." + error_msg+=$'\n* For more details, go to the "Troubleshooting" wiki page in GitHub.' + error_msg+=$'\n* Troubleshooting link: https://github.com/LukeZGD/Legacy-iOS-Kit/wiki/Troubleshooting#running-wikiproxy' + error "Failed to download firmware keys." "$error_msg" fi mv index.html "$keys_path/" fi