mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-27 10:24:16 +01:00
Fix jq here
This commit is contained in:
parent
dd9500cee0
commit
5efe48b995
@ -2317,11 +2317,11 @@ shsh_save_onboard() {
|
||||
|
||||
shsh_save_cydia() {
|
||||
local json=$(curl "https://firmware-keys.ipsw.me/device/$device_type")
|
||||
local len=$(echo "$json" | jq length)
|
||||
local len=$(echo "$json" | $jq length)
|
||||
local builds=()
|
||||
local i=0
|
||||
while (( i < len )); do
|
||||
builds+=($(echo "$json" | jq -r ".[$i].buildid"))
|
||||
builds+=($(echo "$json" | $jq -r ".[$i].buildid"))
|
||||
((i++))
|
||||
done
|
||||
for build in ${builds[@]}; do
|
||||
|
Loading…
Reference in New Issue
Block a user