From a29dddf63d3eb64d362d2f710c393e82c946d6ee Mon Sep 17 00:00:00 2001 From: ethanarbuckle Date: Fri, 1 Jan 2021 12:12:16 -0800 Subject: [PATCH] add debian scripts to kill carplay process --- Makefile | 7 +++++-- postinst_postrm | 3 +++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 postinst_postrm 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