docs(构建指南): 新增原生桌面构建
build.yaml / build (push) Successful in 46s

This commit is contained in:
xiaoqidun committed 2026-10-17 18:20:40 +08:00
1 parent 0466276704
commit c5224c54fb
1 file changed
+7
+7
View File
@@ -60,6 +60,13 @@ set GOARCH=amd64
go build -o ofdgo_webui.exe -trimpath -ldflags "-s -w -buildid=" ./cmd/webui/webui.go
```
# 原生桌面
```batch
set GOOS=windows
set GOARCH=amd64
go build -o ofdgo_windows_amd64.exe -trimpath -ldflags "-H windowsgui -s -w -buildid=" ./cmd/webview
```
# 安装引擎
```shell
go get -u github.com/xiaoqidun/ofdgo