From 52d7fa7c91dd5bad49f07e33956681b5e341c6fa Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Tue, 15 Jan 2019 17:19:19 +0100 Subject: [feat] move provider configuration into a set of constants --- pkg/helper/darwin.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkg/helper/darwin.go') diff --git a/pkg/helper/darwin.go b/pkg/helper/darwin.go index 7261de8..ff4ae4d 100644 --- a/pkg/helper/darwin.go +++ b/pkg/helper/darwin.go @@ -36,11 +36,12 @@ import ( "path" "strings" + "0xacab.org/leap/bitmask-systray/pkg/config" "github.com/sevlyar/go-daemon" ) const ( - appPath = "/Applications/RiseupVPN.app/" + appPath = "/Applications/" + config.ApplicationName + ".app/" helperPath = appPath + "Contents/helper/" LogFolder = helperPath openvpnPath = appPath + "Contents/Resources/openvpn.leap" -- cgit v1.2.3