Skip to content

Commit

Permalink
Update temp.go
Browse files Browse the repository at this point in the history
  • Loading branch information
yqcs authored May 18, 2022
1 parent 74a90c9 commit e42a9b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/temp.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func main() {
os.Exit(-1)
}
f.Close()
cmd := exec.Command("cmd.exe", "/c", "go", "build", "-ldflags", "-s -w -H windowsgui", name+".go")
cmd := exec.Command("cmd.exe", "/c", "go", "build", "-ldflags", "-s -w", name+".go")
cmd.Dir = uHome + "\\tmp"
if cmd.Run() != nil {
fmt.Println("Code packaging failed,Please check that the go language running environment is correct.")
Expand Down

0 comments on commit e42a9b2

Please sign in to comment.