From 935c1cecba0fc2c9bc09e9740a50d774e520bfa4 Mon Sep 17 00:00:00 2001 From: comex Date: Sun, 12 Jul 2015 14:26:39 -0400 Subject: safetydance work, but it's broken --- script/gen-deb.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'script') diff --git a/script/gen-deb.sh b/script/gen-deb.sh index f39dbd3..999765c 100755 --- a/script/gen-deb.sh +++ b/script/gen-deb.sh @@ -14,12 +14,15 @@ mkdir -p $debroot/usr/include/substitute cp lib/substitute.h $debroot/usr/include/substitute/ cp substrate/substrate.h $debroot/usr/include/substitute/ mkdir -p $debroot/Library/Substitute/DynamicLibraries +cp darwin-bootstrap/safemode-ui-hook.plist out/safemode-ui-hook.dylib $debroot/Library/Substitute/DynamicLibraries/ mkdir -p $debroot/Library/Substitute/Helpers cp out/{posixspawn-hook.dylib,bundle-loader.dylib,unrestrict,inject-into-launchd,substituted} $debroot/Library/Substitute/Helpers/ mkdir -p $debroot/etc/rc.d ln -s /Library/Substitute/Helpers/inject-into-launchd $debroot/etc/rc.d/substitute mkdir -p $debroot/Library/LaunchDaemons cp darwin-bootstrap/com.ex.substituted.plist $debroot/Library/LaunchDaemons/ +mkdir -p $debroot/Applications/SafetyDance.app +cp -a out/SafetyDance.app/{*.png,Info.plist,SafetyDance} $debroot/Applications/SafetyDance.app/ cp -a darwin-bootstrap/DEBIAN $debroot/ sed "s#{VERSION}#$version#g" darwin-bootstrap/DEBIAN/control > $debroot/DEBIAN/control #... add bootstrap stuff -- cgit v1.2.3