fix 2.0 because im dumb

This commit is contained in:
Tom E committed 2022-11-18 20:28:50 +00:00
1 parent e64957c5a9
commit bd1dfb0dc5
8 files changed
+3 -3

No files matched your search

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2 -2
View File
@@ -433,13 +433,13 @@ deviceid=$(_info recovery PRODUCT)
if [ ! "$ipsw" = "" ]; then
ipswurl=$ipsw
else
buildid=$(curl -sL https://api.ipsw.me/v4/ipsw/$version | jq '.[0] | .buildid' --raw-output)
buildid=$(curl -sL https://api.ipsw.me/v4/ipsw/$version | "$dir/jq '.[0] | .buildid' --raw-output)
if [[ "$deviceid" == *"iPad"* ]]; then
os=iPadOS
else
os=iOS
fi
ipswurl=$(curl -sL https://api.appledb.dev/ios/$os\;$buildid.json | jq -r .devices[\"$deviceid\"].ipsw)
ipswurl=$(curl -sL https://api.appledb.dev/ios/$os\;$buildid.json | "$dir"/jq -r .devices[\"$deviceid\"].ipsw)
fi
# Have the user put the device into DFU
+1 -1
Submodule ramdisk updated: 427918b472...dc3ae09fd4.