File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1681,15 +1681,15 @@ go mod tidy
16811681
16821682``` bash
16831683# 本机平台
1684- go build -ldflags " -s -w" -o zerobot -trimpath
1684+ go build -ldflags " -s -w -checklinkname=0 " -o zerobot -trimpath
16851685# x64 Linux 平台 如各种云服务器
1686- GOOS=linux GOARCH=amd64 go build -ldflags " -s -w" -o zerobot -trimpath
1686+ GOOS=linux GOARCH=amd64 go build -ldflags " -s -w -checklinkname=0 " -o zerobot -trimpath
16871687# x64 Windows 平台 如大多数家用电脑
1688- GOOS=windows GOARCH=amd64 go build -ldflags " -s -w" -o zerobot.exe -trimpath
1688+ GOOS=windows GOARCH=amd64 go build -ldflags " -s -w -checklinkname=0 " -o zerobot.exe -trimpath
16891689# armv6 Linux 平台 如树莓派 zero W
1690- GOOS=linux GOARCH=arm GOARM=6 CGO_ENABLED=0 go build -ldflags " -s -w" -o zerobot -trimpath
1690+ GOOS=linux GOARCH=arm GOARM=6 CGO_ENABLED=0 go build -ldflags " -s -w -checklinkname=0 " -o zerobot -trimpath
16911691# (由于引入了github.com/fumiama/sqlite3,本项不再可用)mips Linux 平台 如 路由器 wndr4300
1692- GOOS=linux GOARCH=mips GOMIPS=softfloat CGO_ENABLED=0 go build -ldflags " -s -w" -o zerobot -trimpath
1692+ GOOS=linux GOARCH=mips GOMIPS=softfloat CGO_ENABLED=0 go build -ldflags " -s -w -checklinkname=0 " -o zerobot -trimpath
16931693```
16941694
169516955 . 运行 OneBot 框架,并同时运行本插件
You can’t perform that action at this time.
0 commit comments