From 33aba4dbe45f586ea0deeade3558005dd57beff1 Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Tue, 21 Sep 2021 22:14:11 -0400 Subject: Fixes --- tsssave | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tsssave b/tsssave index f7a00f4..e171a12 100755 --- a/tsssave +++ b/tsssave @@ -17,22 +17,22 @@ # apnonce: apnonce # -if ! command -v yq; then +if ! command -v yq >/dev/null; then printf "Please install yq\nhttps://github.com/mikefarah/yq\n" missingdep=1 fi -if ! command -v jq; then +if ! command -v jq >/dev/null; then printf "Please install jq\nhttps://github.com/stedolan/jq\n" missingdep=1 fi -if ! command -v tsschecker; then +if ! command -v tsschecker >/dev/null; then printf "Please install tsschecker\nhttps://github.com/1Conan/tsschecker\n" missingdep=1 fi -if ! command -v pzb; then +if ! command -v pzb >/dev/null; then printf "Please install pzb\nhttps://github.com/tihmstar/partialZipBrowser\n" missingdep=1 fi @@ -82,7 +82,7 @@ for device in $(yq e '.devices | keys | .[]' ${config}); do else printf "Saving %s...\n" ${signed} pzb "$(curl -sL https://api.m1sta.xyz/betas/${deviceid} | jq -re ".[] | select(.buildid == \"${signed}\") | .url")" -g BuildManifest.plist -o BuildManifest-${board}-${signed}.plist - mkdir -p ${output}/${device}/${version}/ + mkdir -p ${output}/${device}/${version}/beta/ tsschecker -d "${deviceid}" -B "${board}" -m /tmp/BuildManifest-${board}-${signed}.plist -s -e "${ecid}" --generator "${generator}" \ --apnonce "${apnonce}" --save-path ${output}/${device}/${version}/beta/ fi -- cgit v1.2.3-56-ge451