Browse Source

生成bin脚本

kinve 1 year ago
parent
commit
adf3063f06
1 changed files with 1 additions and 1 deletions
  1. 1 1
      生成exe.bat

+ 1 - 1
生成exe.bat

@@ -1,6 +1,6 @@
 ::图标默认logo.ico
 windres -o main.syso main.rc
-go build -o main.exe main.go
+go build
 
 ::go build    //带有cmd黑框
 ::go build -ldflags "-s -w -H=windowsgui"     //没有cmd黑框,适合有gui的