chore: standardize artifact names across platforms

This commit is contained in:
kangfenmao 2025-01-08 09:42:38 +08:00
parent 1fbd727a7b
commit 5d005cf5a7

View File

@ -32,6 +32,10 @@ asarUnpack:
- '**/*.{node,dll,metal,exp,lib}' - '**/*.{node,dll,metal,exp,lib}'
win: win:
executableName: Cherry Studio executableName: Cherry Studio
artifactName: ${productName}-${version}-portable.${ext}
target:
- target: nsis
- target: portable
nsis: nsis:
artifactName: ${productName}-${version}-setup.${ext} artifactName: ${productName}-${version}-setup.${ext}
shortcutName: ${productName} shortcutName: ${productName}
@ -43,6 +47,7 @@ nsis:
mac: mac:
entitlementsInherit: build/entitlements.mac.plist entitlementsInherit: build/entitlements.mac.plist
notarize: false notarize: false
artifactName: ${productName}-${version}-${arch}.${ext}
extendInfo: extendInfo:
- NSCameraUsageDescription: Application requests access to the device's camera. - NSCameraUsageDescription: Application requests access to the device's camera.
- NSMicrophoneUsageDescription: Application requests access to the device's microphone. - NSMicrophoneUsageDescription: Application requests access to the device's microphone.
@ -57,9 +62,8 @@ mac:
arch: arch:
- arm64 - arm64
- x64 - x64
dmg:
artifactName: ${productName}-${version}-${arch}.${ext}
linux: linux:
artifactName: ${productName}-${version}-${arch}.${ext}
target: target:
- target: AppImage - target: AppImage
arch: arch:
@ -67,8 +71,6 @@ linux:
- x64 - x64
maintainer: electronjs.org maintainer: electronjs.org
category: Utility category: Utility
appImage:
artifactName: ${productName}-${version}-${arch}.${ext}
publish: publish:
provider: generic provider: generic
url: https://cherrystudio.ocool.online url: https://cherrystudio.ocool.online