-
-
Save Mabdelwanis/fded77eb63905e60cb3f2e8ea2424ae4 to your computer and use it in GitHub Desktop.
Shell script to build your tweaks compatible with rootless jailbreak.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
PROJECT="$1" | |
if [ -z "$PROJECT" ]; then | |
echo "Usage: $0 <project>" | |
exit 1 | |
fi | |
cd "$PROJECT" | |
make clean | |
export THEOS_PACKAGE_SCHEME=rootless | |
# export ARCHS=arm64 # use this one if you target AppStore apps | |
export ARCHS="arm64 arm64e" | |
export TARGET=iphone:clang:latest:14.0 | |
make package FINALPACKAGE=1 | |
export -n THEOS_PACKAGE_SCHEME | |
export -n ARCHS | |
export -n TARGET |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment