Build(Builder): Update config

This commit is contained in:
2024-06-13 18:31:08 +08:00
parent 7d3ec39da3
commit df98339838
5 changed files with 65 additions and 15 deletions

View File

@@ -1,5 +1,7 @@
appId: com.electron.app
productName: oxygen-desktop
copyright: Copyright © 2017-2024 FatWeb. All rights reserved.
appId: top.fatweb.oxygen.desktop
artifactName: ${name}-${version}-${os}-${arch}.${ext}
directories:
buildResources: build
files:
@@ -12,13 +14,35 @@ files:
asarUnpack:
- resources/**
win:
executableName: oxygen-desktop
target:
- target: nsis
arch:
- x64
- ia32
- arm64
- target: msi
arch:
- x64
- ia32
- arm64
- target: zip
arch:
- x64
- ia32
- arm64
nsis:
artifactName: ${name}-${version}-setup.${ext}
shortcutName: ${productName}
uninstallDisplayName: ${productName}
createDesktopShortcut: always
oneClick: false
allowToChangeInstallationDirectory: true
artifactName: ${name}-${version}-${os}-${arch}-setup.${ext}
shortcutName: Oxygen Desktop
createDesktopShortcut: true
msi:
oneClick: false
shortcutName: Oxygen Desktop
mac:
category: public.app-category.productivity
target:
- default
entitlementsInherit: build/entitlements.mac.plist
extendInfo:
- NSCameraUsageDescription: Application requests access to the device's camera.
@@ -26,17 +50,37 @@ mac:
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
notarize: false
dmg:
artifactName: ${name}-${version}.${ext}
linux:
target:
- AppImage
- snap
- deb
maintainer: electronjs.org
- target: AppImage
arch:
- x64
- arm64
- armv7l
- target: deb
arch:
- x64
- arm64
- armv7l
- target: rpm
arch:
- x64
- arm64
- armv7l
- target: pacman
arch:
- x64
- arm64
- armv7l
- target: tar.gz
arch:
- x64
- arm64
- armv7l
category: Utility
appImage:
artifactName: ${name}-${version}.${ext}
desktop:
Name: Oxygen Desktop
Comment: Oxygen Toolbox multi-platform desktop version
npmRebuild: false
publish:
provider: generic