summaryrefslogtreecommitdiff
path: root/pkg/bundles
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-03-05 17:47:01 +0100
committerKali Kaneko <kali@leap.se>2018-03-05 17:47:01 +0100
commit176035bc57d22f2e7e879331b84f8d8afa232e0d (patch)
tree2f34d5b49425d39a3851ef14869f7baf05ac2e87 /pkg/bundles
parent4f20bc9ca0e6e1132d2691483058337228f0173c (diff)
[pkg] change app path for osx helper
Diffstat (limited to 'pkg/bundles')
-rw-r--r--pkg/bundles/build.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/bundles/build.mk b/pkg/bundles/build.mk
index 2369d73c..e93199db 100644
--- a/pkg/bundles/build.mk
+++ b/pkg/bundles/build.mk
@@ -175,6 +175,8 @@ bundle_anonvpn_osx_missing:
cp -r src/leap/bitmask/bonafide/providers/* $(OSX_ANON_RES)/../apps/providers/
cp -r $(ANONVPN_DIST_VERSION)/apps/providers/* $(OSX_ANON_RES)/../apps/providers
cp src/leap/bitmask/vpn/helpers/osx/bitmask-helper $(OSX_ANON_RES)/bitmask-helper/
+ sed "s/.*Bitmask.app.*/APP_PATH='\/Applications\/RiseupVPN\.app\/'/" $(OSX_ANON_RES)/bitmask-helper/bitmask-helper2
+ mv $(OSX_ANON_RES)/bitmask-helper/bitmask-helper2 $(OSX_ANON_RES)/bitmask-helper/bitmask-helper
cp src/leap/bitmask/vpn/helpers/osx/bitmask.pf.conf $(OSX_ANON_RES)/bitmask-helper/
cp pkg/osx/scripts/se.leap.bitmask-helper.plist $(OSX_ANON_RES)/bitmask-helper/
wget https://downloads.leap.se/thirdparty/osx/openvpn/openvpn -O $(OSX_ANON_RES)/openvpn.leap
@@ -183,6 +185,7 @@ bundle_anonvpn_osx_missing:
bundle_anonvpn_osx_pkg:
cp src/leap/bitmask/core/bitmaskd.tac $(OSX_ANON_CON)/
cp ../bitmask-systray/bitmask-systray $(OSX_ANON_CON)/bitmask-systray
+ cp /usr/local/opt/zeromq/lib/libzmq.5.dylib $(OSX_ANON_CON)/libzmq.5.dylib
install_name_tool -change /usr/local/opt/zeromq/lib/libzmq.5.dylib "@loader_path/libzmq.5.dylib" $(OSX_ANON_CON)/bitmask-systray
pkg/osx/quickpkg --output dist/RiseupVPN-$(NEXT_VERSION)_pre.pkg --scripts pkg/osx/scripts/ dist/RiseupVPN.app/
@if [ $(BUILD_RELEASE) = no ]; then\