forked from roothide/Bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
46 lines (34 loc) · 1.18 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
ARCHS = arm64
TARGET = iphone:latest:15.0
DEB_ARCH = iphoneos-arm64e
IPHONEOS_DEPLOYMENT_TARGET = 15.0
INSTALL_TARGET_PROCESSES = Bootstrap
THEOS_PACKAGE_SCHEME = roothide
THEOS_DEVICE_IP = iphone13.local
#disable theos auto sign for all mach-o
TARGET_CODESIGN = echo "don't sign"
include $(THEOS)/makefiles/common.mk
XCODE_SCHEME = Bootstrap
XCODEPROJ_NAME = Bootstrap
Bootstrap_XCODEFLAGS = \
IPHONEOS_DEPLOYMENT_TARGET="$(IPHONEOS_DEPLOYMENT_TARGET)" \
CODE_SIGN_IDENTITY="" \
AD_HOC_CODE_SIGNING_ALLOWED=YES
Bootstrap_XCODE_SCHEME = $(XCODE_SCHEME)
#Bootstrap_CODESIGN_FLAGS = -Sentitlements.plist
Bootstrap_INSTALL_PATH = /Applications
include $(THEOS_MAKE_PATH)/xcodeproj.mk
clean::
rm -rf ./packages/*
before-package::
rm -rf ./packages
cp -a ./strapfiles ./.theos/_/Applications/Bootstrap.app/
ldid -Sentitlements.plist ./.theos/_/Applications/Bootstrap.app/Bootstrap
mkdir -p ./packages/Payload
cp -R ./.theos/_/Applications/Bootstrap.app ./packages/Payload
cd ./packages && zip -mry ./Bootstrap.tipa ./Payload
rm -rf ./.theos/_/Applications
mkdir ./.theos/_/tmp
cp ./packages/Bootstrap.tipa ./.theos/_/tmp/
after-install::
install.exec 'uiopen -b com.roothide.Bootstrap'