fix: 启动脚本 (#1236)

This commit is contained in:
宇~ 2025-10-08 19:41:16 +08:00 committed by GitHub
parent da81875f8b
commit 8101c02ca8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -3,5 +3,6 @@ go env -w GOPROXY=https://goproxy.cn,direct
go env -w GO111MODULE=auto
go mod tidy
::go build -ldflags="-s -w" -o ZeroBot-Plugin.exe
go run main.go
go generate main.go
go run -ldflags "-s -w -checklinkname=0" main.go
pause

3
run.sh
View File

@ -3,4 +3,5 @@ go env -w GOPROXY=https://goproxy.cn,direct
go env -w GO111MODULE=auto
go mod tidy
#go build -ldflags="-s -w" -o ZeroBot-Plugin
go run main.go
go generate main.go
go run -ldflags "-s -w -checklinkname=0" main.go