From 4515bc3f0a2a0902b25b12d1f64e306ec3e51b1e Mon Sep 17 00:00:00 2001 From: opa334 Date: Fri, 7 Oct 2022 14:29:30 +0200 Subject: [PATCH] fix script lol --- _compile/build_trollinstaller2.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/_compile/build_trollinstaller2.sh b/_compile/build_trollinstaller2.sh index 197a3a5..85a44e5 100755 --- a/_compile/build_trollinstaller2.sh +++ b/_compile/build_trollinstaller2.sh @@ -1,3 +1,11 @@ +#!/bin/sh +set -e + +if [ ! -d "./out" ] +then + mkdir -p ./out +fi + cd ../TrollInstaller2 make clean make package @@ -13,7 +21,7 @@ unzip target/Developer.ipa -d ./out/devpwn rm ./out/pwn_arm64e cd ./out/devpwn -zip -mvr devpwn.ipa * +zip -vr devpwn.ipa * cd - cp ./out/devpwn/devpwn.ipa ./out/DeveloperInstaller.ipa