mirror of
https://github.com/timeshiftsauce/CeruMusic.git
synced 2025-11-25 03:15:07 +08:00
58 lines
1.8 KiB
YAML
58 lines
1.8 KiB
YAML
appId: com.cerumusic.app
|
|
productName: 澜音
|
|
directories:
|
|
buildResources: build
|
|
asar: true
|
|
files:
|
|
- '!**/.vscode/*'
|
|
- '!src/*'
|
|
- '!electron.vite.config.{js,ts,mjs,cjs}'
|
|
- '!{.eslintcache,eslint.config.mjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
|
|
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
|
|
- '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}'
|
|
asarUnpack:
|
|
- resources/**
|
|
win:
|
|
executableName: ceru-music
|
|
icon: 'resources/icons/icon.ico'
|
|
# 如果有证书文件,取消注释以下配置
|
|
# certificateFile: path/to/certificate.p12
|
|
# certificatePassword: your-password
|
|
# 或者使用证书存储
|
|
# certificateSubjectName: "Your Company Name"
|
|
nsis:
|
|
artifactName: ${name}-${version}-setup.${ext}
|
|
shortcutName: ${productName}
|
|
uninstallDisplayName: ${productName}
|
|
createDesktopShortcut: always
|
|
installerIcon: 'resources/icons/icon.ico'
|
|
uninstallerIcon: 'resources/icons/icon.ico'
|
|
oneClick: false
|
|
allowToChangeInstallationDirectory: true
|
|
allowElevation: true
|
|
mac:
|
|
entitlementsInherit: build/entitlements.mac.plist
|
|
extendInfo:
|
|
- NSCameraUsageDescription: Application requests access to the device's camera.
|
|
- NSMicrophoneUsageDescription: Application requests access to the device's microphone.
|
|
- 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
|
|
category: Utility
|
|
appImage:
|
|
artifactName: ${name}-${version}.${ext}
|
|
npmRebuild: false
|
|
publish:
|
|
provider: generic
|
|
url: https://example.com/auto-updates
|
|
electronDownload:
|
|
mirror: https://npmmirror.com/mirrors/electron/
|