diff --git a/Makefile b/Makefile index 225eaca..5fcd09e 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ export THEOS_DEVICE_IP=192.168.86.10 ARCHS = arm64 -TARGET=iphone:clang:13.5.1:13.5.1 +TARGET = iphone:clang:13.5.1:13.5.1 include $(THEOS)/makefiles/common.mk @@ -12,7 +12,10 @@ carplayenable_PRIVATE_FRAMEWORKS += CoreSymbolication include $(THEOS_MAKE_PATH)/tweak.mk after-carplayenable-stage:: - mkdir -p $(THEOS_STAGING_DIR)/var/mobile/Library/Preferences/ + 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:: diff --git a/postinst_postrm b/postinst_postrm new file mode 100644 index 0000000..74f94aa --- /dev/null +++ b/postinst_postrm @@ -0,0 +1,3 @@ +#!/bin/sh + +killall -9 CarPlay \ No newline at end of file