X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/93429d560ac5a80da16d40ce769d11b635e4602f..6666381a7e5c08228e507462aa4f969eccee6f44:/Library/firmware.sh diff --git a/Library/firmware.sh b/Library/firmware.sh index 9326842d..53543ba9 100755 --- a/Library/firmware.sh +++ b/Library/firmware.sh @@ -90,7 +90,15 @@ EOF if [[ ${cpu} == arm ]]; then pseudo "firmware" "${version}" "almost impressive Apple frameworks" - gssc 2>&1 | sed -re ' + while [[ 1 ]]; do + gssc=$(gssc 2>&1) + if [[ ${gssc} != *'(null)'* ]]; then + break + fi + sleep 1 + done + + echo "${gssc}" | sed -re ' /^ [^ ]* = [0-9.]*;$/ ! d; s/^ ([^ ]*) = ([0-9.]*);$/\1 \2/; s/([A-Z])/-\L\1/g; s/^"([^ ]*)"/\1/; @@ -98,6 +106,10 @@ EOF / 0$/ d; ' | while read -r name value; do pseudo "gsc.${name}" "${value}" "virtual GraphicsServices dependency" + + if [[ ${name} == ipad ]]; then + pseudo "gsc.wildcat" "${value}" "virtual virtual GraphicsServices dependency" + fi done fi