mirror of
https://github.com/gravitl/netmaker.git
synced 2025-11-03 11:02:11 +08:00
updated build tag locations
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user