From 8101c02ca89c9a4e019fa52ca654825600b03d85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=7E?= <158024940+xyy0411@users.noreply.github.com> Date: Wed, 8 Oct 2025 19:41:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=90=AF=E5=8A=A8=E8=84=9A=E6=9C=AC=20(?= =?UTF-8?q?#1236)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- run.bat | 3 ++- run.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/run.bat b/run.bat index 31420462..f9fc72f7 100644 --- a/run.bat +++ b/run.bat @@ -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 diff --git a/run.sh b/run.sh index a6112ad6..2daec4b0 100755 --- a/run.sh +++ b/run.sh @@ -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