diff options
author | Ruben Pollan <meskio@sindominio.net> | 2019-01-15 17:19:19 +0100 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2019-01-15 17:26:06 +0100 |
commit | 52d7fa7c91dd5bad49f07e33956681b5e341c6fa (patch) | |
tree | 0cd14b39203ef5652ee2c76ac27320db4abb4ef8 /pkg/helper/windows.go | |
parent | 80b6aef1206fb63f1a2985f003f6b484a23bb949 (diff) |
[feat] move provider configuration into a set of constants
Diffstat (limited to 'pkg/helper/windows.go')
-rw-r--r-- | pkg/helper/windows.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/helper/windows.go b/pkg/helper/windows.go index a19c92b..4e4e89d 100644 --- a/pkg/helper/windows.go +++ b/pkg/helper/windows.go @@ -20,10 +20,12 @@ import ( "log" "os" "os/exec" + + "0xacab.org/leap/bitmask-systray/pkg/config" ) const ( - appPath = `C:\Program Files\RiseupVPN\` + appPath = `C:\Program Files\` + config.ApplicationName + `\` LogFolder = appPath openvpnPath = appPath + `openvpn.exe` chocoOpenvpnPath = `C:\Program Files\OpenVPN\bin\openvpn.exe` |