feat(build): 支持桌面端多架构打包矩阵

This commit is contained in:
2026-02-15 23:26:00 +08:00
parent 627e6f9dd3
commit 8245abe217
6 changed files with 72 additions and 14 deletions

View File

@@ -21,7 +21,7 @@ mac:
- dmg
category: public.app-category.productivity
extraResources:
- from: ../server/out/server-darwin-arm64
- from: ../server/out/server-darwin-${arch}
to: server
dmg:
artifactName: ${productName}-${version}-${os}-${arch}.${ext}
@@ -31,7 +31,7 @@ win:
target:
- portable
extraResources:
- from: ../server/out/server-windows-x64.exe
- from: ../server/out/server-windows-${arch}.exe
to: server.exe
portable:
artifactName: ${productName}-${version}-${os}-${arch}-Portable.${ext}
@@ -42,7 +42,7 @@ linux:
- AppImage
category: Utility
extraResources:
- from: ../server/out/server-linux-x64
- from: ../server/out/server-linux-${arch}
to: server
appImage:
artifactName: ${productName}-${version}-${os}-${arch}.${ext}