-
Notifications
You must be signed in to change notification settings - Fork 98
/
Copy pathMakefile
27 lines (19 loc) · 833 Bytes
/
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
ARCHS = arm64 arm64e
TARGET = iphone:clang:13.5.1:13.5.1
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = carplayenable
carplayenable_FILES = $(wildcard src/hooks/*.xm) $(wildcard src/*.mm) $(wildcard src/crash_reporting/*.mm)
carplayenable_PRIVATE_FRAMEWORKS += CoreSymbolication
include $(THEOS_MAKE_PATH)/tweak.mk
after-carplayenable-stage::
mkdir -p $(THEOS_STAGING_DIR)/DEBIAN/
cp postinst_postrm $(THEOS_STAGING_DIR)/DEBIAN/postinst
cp postinst_postrm $(THEOS_STAGING_DIR)/DEBIAN/postrm
chmod +x $(THEOS_STAGING_DIR)/DEBIAN/post*
after-install::
install.exec "killall -9 SpringBoard CarPlay Preferences"
test::
install.exec "cycript -p SpringBoard" < tests/springboard_tests.cy
install.exec "cycript -p CarPlay" < tests/carplay_tests.cy
SUBPROJECTS += carplayenableprefs
include $(THEOS_MAKE_PATH)/aggregate.mk