summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-06-04 11:57:48 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-06-12 20:02:49 +0200
commit8ecdc2db16858cbd7c5c75adb41021a2e1cb2c83 (patch)
treec3da2789b3b375b41242adc0fa1e4c3c042ff73f /pkg
parent7c0bef83b62fb38cafcc5e203b89494a7a71f844 (diff)
[refactor] comment out some initialization functions, still need work
Signed-off-by: kali kaneko (leap communications) <kali@leap.se>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/systray2/run.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/systray2/run.go b/pkg/systray2/run.go
index 937fb58..00c2c94 100644
--- a/pkg/systray2/run.go
+++ b/pkg/systray2/run.go
@@ -23,6 +23,7 @@ import (
"0xacab.org/leap/bitmask-vpn/pkg/config"
)
+/*
func initialize(conf *Config, bt *bmTray, finishedCh chan bool) {
defer func() { finishedCh <- true }()
if _, err := os.Stat(config.Path); os.IsNotExist(err) {
@@ -55,6 +56,7 @@ func initialize(conf *Config, bt *bmTray, finishedCh chan bool) {
log.Printf("Error enabling autostart: %v", err)
}
}
+*/
func checkAndStartBitmask(b bitmask.Bitmask, conf *Config) {
if conf.Obfs4 {