From e49c3b1c23389db44590a52dbd0482bdb1d75c23 Mon Sep 17 00:00:00 2001 From: Nebula Date: Fri, 18 Nov 2022 22:16:36 -0500 Subject: [PATCH] workaround for weird 15.1 thing --- palera1n.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/palera1n.sh b/palera1n.sh index bb9a5e9..4386780 100755 --- a/palera1n.sh +++ b/palera1n.sh @@ -446,6 +446,9 @@ else fi buildid=$(curl -sL https://api.ipsw.me/v4/ipsw/$version | "$dir"/jq '[.[] | select(.identifier | startswith("'$device'")) | .buildid][0]' --raw-output) + if [ "$buildid" == "19B75" ]; then + buildid=19B74 + fi ipswurl=$(curl -sL https://api.appledb.dev/ios/$os\;$buildid.json | "$dir"/jq -r .devices\[\"$deviceid\"\].ipsw) fi