mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 08:46:55 +08:00
This commit is contained in:
1 parent
d717b704d8
commit
7ddb67ea41
3 files changed
+27
-8
No files matched your search
@@ -68,20 +68,20 @@ go build -o ofdgo_webui.exe -trimpath -ldflags "-s -w -buildid=" ./cmd/webui/web
|
||||
```batch
|
||||
set CGO_ENABLED=0
|
||||
|
||||
:: 构建Windows amd64(x64/x86_64)
|
||||
set GOOS=windows
|
||||
set GOARCH=amd64
|
||||
go build -o ofdgo_windows_amd64.exe -trimpath -ldflags "-H windowsgui -s -w -buildid=" ./cmd/webview
|
||||
:: 构建Linux arm64(aarch64)
|
||||
set GOOS=linux
|
||||
set GOARCH=arm64
|
||||
go build -o ofdgo_linux_arm64 -trimpath -ldflags "-s -w -buildid=" ./cmd/webview
|
||||
|
||||
:: 构建Linux amd64(x64/x86_64)
|
||||
set GOOS=linux
|
||||
set GOARCH=amd64
|
||||
go build -o ofdgo_linux_amd64 -trimpath -ldflags "-s -w -buildid=" ./cmd/webview
|
||||
|
||||
:: 构建Linux arm64(aarch64)
|
||||
set GOOS=linux
|
||||
set GOARCH=arm64
|
||||
go build -o ofdgo_linux_arm64 -trimpath -ldflags "-s -w -buildid=" ./cmd/webview
|
||||
:: 构建Windows amd64(x64/x86_64)
|
||||
set GOOS=windows
|
||||
set GOARCH=amd64
|
||||
go build -o ofdgo_windows_amd64.exe -trimpath -ldflags "-H windowsgui -s -w -buildid=" ./cmd/webview
|
||||
```
|
||||
|
||||
# 安装引擎
|
||||
|
||||
Reference in new issue
Block a user