workaround for weird 15.1 thing

This commit is contained in:
Nebula committed 2022-11-18 22:16:36 -05:00
1 parent 336529b961
commit e49c3b1c23
1 file changed
+3
+3
View File
@@ -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