From 8ecdc2db16858cbd7c5c75adb41021a2e1cb2c83 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Thu, 4 Jun 2020 11:57:48 +0200 Subject: [refactor] comment out some initialization functions, still need work Signed-off-by: kali kaneko (leap communications) --- build.sh | 2 +- pkg/systray2/run.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 667457c..402525f 100755 --- a/build.sh +++ b/build.sh @@ -48,7 +48,7 @@ function buildQmake { $QMAKE -o qtbuild/Makefile "CONFIG-=debug CONFIG+=release" $PROJECT } -echo "[+] Building minimal qml example..." +echo "[+] Building BitmaskVPN" buildGoLib buildQmake 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 { -- cgit v1.2.3