mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-21 09:47:01 +02:00
fix 2.0 because im dumb
This commit is contained in:
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
@@ -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.
Reference in new issue
Block a user