Skip to content

Commit

Permalink
add debian scripts to kill carplay process
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanArbuckle committed Jan 1, 2021
1 parent c747e8a commit a29dddf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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::
Expand Down
3 changes: 3 additions & 0 deletions postinst_postrm
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

killall -9 CarPlay

This comment has been minimized.

Copy link
@Moory9

Moory9 Jan 9, 2021

#8

This comment has been minimized.

Copy link
@EthanArbuckle

EthanArbuckle Jan 9, 2021

Author Owner

?

0 comments on commit a29dddf

Please sign in to comment.