summaryrefslogtreecommitdiff
path: root/pkg/tools
diff options
context:
space:
mode:
authorkali <kali@leap.se>2018-06-12 11:13:47 -0700
committerKali Kaneko <kali@leap.se>2018-06-12 22:09:54 +0200
commit2af23c13dca48c542d7f62a4f3794ae8c8b9aed5 (patch)
tree4d9e8b0b47c1304e7103b1e18c3f0f6cac563c1b /pkg/tools
parentdd9bcff5a2ea0b6e7bda4eeebfe6b74700f8d974 (diff)
[pkg] add makefile to install osx helper in dev mode
Diffstat (limited to 'pkg/tools')
-rw-r--r--pkg/tools/osx/Makefile10
1 files changed, 10 insertions, 0 deletions
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