From 2af23c13dca48c542d7f62a4f3794ae8c8b9aed5 Mon Sep 17 00:00:00 2001 From: kali Date: Tue, 12 Jun 2018 11:13:47 -0700 Subject: [pkg] add makefile to install osx helper in dev mode --- pkg/tools/osx/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 pkg/tools/osx/Makefile (limited to 'pkg/tools') diff --git a/pkg/tools/osx/Makefile b/pkg/tools/osx/Makefile new file mode 100644 index 00000000..307dc8bf --- /dev/null +++ b/pkg/tools/osx/Makefile @@ -0,0 +1,10 @@ +# this mimicks what is done by the installer +install_helper: + sudo mkdir -p /Applications/RiseupVPN.app/Contents/Resources/bitmask-helper/ + sudo cp ../../osx/daemon/* /Applications/RiseupVPN.app/Contents/Resources/bitmask-helper/ + sudo cp ../../../src/leap/bitmask/vpn/helpers/osx/* /Applications/RiseupVPN.app/Contents/Resources/bitmask-helper/ + sudo cp ../../osx/scripts-riseupvpn/se.leap.bitmask-helper.plist /Library/LaunchDaemons/se.leap.bitmask-helper.plist +unload_helper: + sudo launchctl unload /Library/LaunchDaemons/se.leap.bitmask-helper.plist +load_helper: + sudo launchctl load /Library/LaunchDaemons/se.leap.bitmask-helper.plist -- cgit v1.2.3