From a5eac333ea9616749a5828a23b533da81831511e Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Tue, 16 Jul 2024 11:36:16 +0800 Subject: [PATCH] Fix issue "Failed getting manifest" --- restore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restore.sh b/restore.sh index 279bdee..a11eec5 100755 --- a/restore.sh +++ b/restore.sh @@ -2698,7 +2698,7 @@ ipsw_prepare_paths() { fw_key="$device_fw_key_base" fi local name=$(echo $fw_key | $jq -j '.keys[] | select(.image == "'$getcomp'") | .filename') - if [[ -z $name ]]; then + if [[ -z $name && $getcomp != "manifest" ]]; then error "Issue with firmware keys: Failed getting $getcomp. Check The Apple Wiki or your wikiproxy" fi local str="$compFile$all_flash/"