mirror of https://github.com/opa334/TrollStore.git
Add check for procursus ldid
This commit is contained in:
parent
c6f8010943
commit
546e40be79
|
@ -16,6 +16,19 @@ then
|
||||||
rm ./out/TrollInstaller2_arm64e.ipa
|
rm ./out/TrollInstaller2_arm64e.ipa
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
IS_PROCURSUS_LDID=0
|
||||||
|
LDID_OUTPUT=$(ldid)
|
||||||
|
case "procursus" in
|
||||||
|
*$LDID_OUTPUT*)
|
||||||
|
IS_PROCURSUS_LDID=1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [[ "$IS_PROCURSUS_LDID" -eq 0 ]]; then
|
||||||
|
echo "ERROR: You are not using Procursus ldid, follow the guide to switch to it."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
mkdir ./out/tmppwn || true 2> /dev/null
|
mkdir ./out/tmppwn || true 2> /dev/null
|
||||||
|
|
||||||
cd ../Installer/TrollInstaller2
|
cd ../Installer/TrollInstaller2
|
||||||
|
|
Loading…
Reference in New Issue