add script for making dist for current platform and arch

This commit is contained in:
geekgeekrun
2024-04-14 15:57:11 +08:00
parent 1d43cf596c
commit 1a3cb104a5
6 changed files with 50 additions and 25 deletions
+1 -16
View File
@@ -21,11 +21,6 @@ extraResources:
- external-node-runtime-dependencies/**
win:
executableName: geekgeekrun
target:
- target: nsis
arch:
- x64
- arm64
nsis:
artifactName: ${name}_${version}_${arch}_setup.${ext}
shortcutName: ${productName}
@@ -39,22 +34,12 @@ mac:
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
notarize: false
target:
- target: dmg
arch:
- x64
- arm64
dmg:
artifactName: ${name}_${version}_${arch}.${ext}
linux:
target:
- target: deb
arch:
- x64
- arm64
artifactName: ${name}_${version}_${arch}.${ext}
maintainer: GeekGeekRun
category: Utility
artifactName: ${name}_${version}_${arch}.${ext}
npmRebuild: false
publish:
provider: generic