diff options
Diffstat (limited to 'helper/windows.go')
-rw-r--r-- | helper/windows.go | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/helper/windows.go b/helper/windows.go index 61096c2..88c96e9 100644 --- a/helper/windows.go +++ b/helper/windows.go @@ -23,11 +23,18 @@ import ( ) const ( - logPath = `C:\Program Files\RiseupVPN\helper.log` - openvpnPath = `C:\Program Files\RiseupVPN\openvpn.exe` + appPath = `C:\Program Files\RiseupVPN\` + logFolder = appPath + openvpnPath = appPath + `openvpn.exe` chocoOpenvpnPath = `C:\Program Files\OpenVPN\bin\openvpn.exe` ) +var ( + platformOpenvpnFlags = []string{ + "--script-security", "1", + } +) + func daemonize() {} func getOpenvpnPath() string { |