feat(新增平台): 新增linux arm64桌面支持

This commit is contained in:
xiaoqidun committed 2026-10-20 15:59:47 +08:00
1 parent 92a0957de2
commit 5f1a4e7dcc
3 files changed
+6 -2

No files matched your search

+4
View File
@@ -75,6 +75,10 @@ go build -o ofdgo_windows_amd64.exe -trimpath -ldflags "-H windowsgui -s -w -bui
set GOOS=linux
set GOARCH=amd64
go build -o ofdgo_linux_amd64 -trimpath -ldflags "-s -w -buildid=" ./cmd/webview
:: 3. 构建Linux arm64(aarch64)
set GOOS=linux
set GOARCH=arm64
go build -o ofdgo_linux_arm64 -trimpath -ldflags "-s -w -buildid=" ./cmd/webview
```
# 安装引擎
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//go:build linux && amd64
//go:build linux && (amd64 || arm64)
package main
+1 -1
View File
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//go:build (!windows && !linux) || !amd64
//go:build !(windows && amd64) && !(linux && (amd64 || arm64))
package main