updated build tag locations

This commit is contained in:
0xdcarns
2022-05-05 12:36:13 -04:00
parent 81ab4f76bb
commit 195bda1f12
3 changed files with 24 additions and 21 deletions

View File

@@ -1,9 +1,9 @@
//go:generate goversioninfo -icon=windowsdata/resource/netmaker.ico -manifest=netclient.exe.manifest.xml -64=true -o=netclient.syso
// -build gui
package main
import (
"fmt"
"log"
"os"
"runtime/debug"
@@ -37,8 +37,6 @@ func main() {
ncutils.CheckWG()
}
fmt.Printf("%d \n %v \n", len(os.Args), config.GuiActive)
if len(os.Args) <= 1 && config.GuiActive {
config.GuiRun.(func())()
} else {