From 477164c0d1cabe950c8b5e882669eafcd57110ef Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 4 Oct 2018 16:10:25 +0900 Subject: [PATCH] ing --- config/build/mac/pkg/scripts/postinstall | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/build/mac/pkg/scripts/postinstall b/config/build/mac/pkg/scripts/postinstall index eaa7a45..8672912 100755 --- a/config/build/mac/pkg/scripts/postinstall +++ b/config/build/mac/pkg/scripts/postinstall @@ -2,7 +2,10 @@ PRODUCT_NAME="overFlow-NetworkScanner" -cp "$2/$PRODUCT_NAME.app/Contents/Resources/ChmodBPF" "/Library/Application Support/overFlow-NetworkScanner/" +mkdir "/Library/Application Support/$PRODUCT_NAME" + +cp -r "$2/$PRODUCT_NAME.app/Contents/Resources/ChmodBPF" "/Library/Application Support/overFlow-NetworkScanner/ChmodBPF" +chmod 775 "/Library/Application Support/overFlow-NetworkScanner/ChmodBPF/ChmodBPF" CHMOD_BPF="/Library/LaunchDaemons/com.loafle.overflow.scanner.ChmodBPF.plist" BPF_GROUP="access_bpf"