Skip to content

Commit e50405c

Browse files
committed
[fix]启动脚本
1 parent da81875 commit e50405c

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

run.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ go env -w GOPROXY=https://goproxy.cn,direct
33
go env -w GO111MODULE=auto
44
go mod tidy
55
::go build -ldflags="-s -w" -o ZeroBot-Plugin.exe
6-
go run main.go
6+
go generate main.go
7+
go run -ldflags "-s -w -checklinkname=0" main.go
78
pause

run.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ go env -w GOPROXY=https://goproxy.cn,direct
33
go env -w GO111MODULE=auto
44
go mod tidy
55
#go build -ldflags="-s -w" -o ZeroBot-Plugin
6-
go run main.go
6+
go generate main.go
7+
go run -ldflags "-s -w -checklinkname=0" main.go

0 commit comments

Comments
 (0)