forked from EthanArbuckle/carplay-cast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
26 lines (19 loc) · 948 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
export THEOS_DEVICE_IP=192.168.86.10
ARCHS = arm64
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)/var/mobile/Library/Preferences/ $(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*
cp BLACKLISTED_APPS.plist $(THEOS_STAGING_DIR)/var/mobile/Library/Preferences/com.carplayenable.blacklisted-apps.plist
after-install::
install.exec "killall -9 SpringBoard CarPlay"
test::
install.exec "cycript -p SpringBoard" < tests/springboard_tests.cy
install.exec "cycript -p CarPlay" < tests/carplay_tests.cy