make build ui ci support both x64 and arm64 arch

This commit is contained in:
geekgeekrun
2024-04-14 07:11:18 +08:00
parent 6753904d8a
commit 7f3c14333f
+17 -3
View File
@@ -21,8 +21,13 @@ extraResources:
- external-node-runtime-dependencies/** - external-node-runtime-dependencies/**
win: win:
executableName: geekgeekrun executableName: geekgeekrun
target:
- target: nsis
arch:
- x64
- arm64
nsis: nsis:
artifactName: ${name}-${version}-setup.${ext} artifactName: ${name}_${version}_${arch}_setup.${ext}
shortcutName: ${productName} shortcutName: ${productName}
uninstallDisplayName: ${productName} uninstallDisplayName: ${productName}
createDesktopShortcut: always createDesktopShortcut: always
@@ -34,13 +39,22 @@ mac:
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder. - NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder. - NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
notarize: false notarize: false
target:
- target: dmg
arch:
- x64
- arm64
dmg: dmg:
artifactName: ${name}-${version}.${ext} artifactName: ${name}_${version}_${arch}.${ext}
linux: linux:
target: target:
- deb - target: deb
arch:
- x64
- arm64
maintainer: GeekGeekRun maintainer: GeekGeekRun
category: Utility category: Utility
artifactName: ${name}_${version}_${arch}.${ext}
npmRebuild: false npmRebuild: false
publish: publish:
provider: generic provider: generic