diff options
Diffstat (limited to 'bitmask')
-rw-r--r-- | bitmask/darwin.go | 2 | ||||
-rw-r--r-- | bitmask/events.go | 2 | ||||
-rw-r--r-- | bitmask/unix.go | 2 | ||||
-rw-r--r-- | bitmask/windows.go | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/bitmask/darwin.go b/bitmask/darwin.go index f3e9224..8493436 100644 --- a/bitmask/darwin.go +++ b/bitmask/darwin.go @@ -4,4 +4,4 @@ package bitmask import "os" -var configPath = os.Getenv("HOME") + "/Library/Preferences/leap" +var ConfigPath = os.Getenv("HOME") + "/Library/Preferences/leap" diff --git a/bitmask/events.go b/bitmask/events.go index 8645519..5808d51 100644 --- a/bitmask/events.go +++ b/bitmask/events.go @@ -72,5 +72,5 @@ func (b *Bitmask) eventsHandler() { } func getServerKeyPath() string { - return filepath.Join(configPath, "events", "zmq_certificates", "public_keys", "server.key") + return filepath.Join(ConfigPath, "events", "zmq_certificates", "public_keys", "server.key") } diff --git a/bitmask/unix.go b/bitmask/unix.go index 5b50f24..5bb522c 100644 --- a/bitmask/unix.go +++ b/bitmask/unix.go @@ -4,4 +4,4 @@ package bitmask import "os" -var configPath = os.Getenv("HOME") + "/.config/leap" +var ConfigPath = os.Getenv("HOME") + "/.config/leap" diff --git a/bitmask/windows.go b/bitmask/windows.go index a574c96..36481f5 100644 --- a/bitmask/windows.go +++ b/bitmask/windows.go @@ -4,4 +4,4 @@ package bitmask import "os" -var configPath = os.Getenv("APPDATA") + "\\leap" +var ConfigPath = os.Getenv("APPDATA") + "\\leap" |