From e50405cef5d33c3150f6aed98e8d0810cdcf27e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=AE=87=E5=AE=87?= <3061196825@qq.com> Date: Tue, 7 Oct 2025 17:01:53 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=E5=90=AF=E5=8A=A8=E8=84=9A=E6=9C=AC?= 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 3142046294..f9fc72f72d 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 a6112ad69d..2daec4b08e 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