2025-08-14 13:12:04 +08:00
|
|
|
|
appId: com.cerumusic.app
|
2025-08-18 20:42:34 +08:00
|
|
|
|
productName: 澜音
|
2025-08-13 13:33:43 +08:00
|
|
|
|
directories:
|
|
|
|
|
|
buildResources: build
|
2025-08-18 12:14:09 +08:00
|
|
|
|
asar: true
|
2025-08-13 13:33:43 +08:00
|
|
|
|
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
|
2025-08-18 20:42:34 +08:00
|
|
|
|
icon: 'resources/icons/icon.ico'
|
2025-08-20 12:51:43 +08:00
|
|
|
|
target:
|
|
|
|
|
|
- target: nsis
|
|
|
|
|
|
arch:
|
|
|
|
|
|
- x64
|
|
|
|
|
|
# 简化版本信息设置,避免rcedit错误
|
|
|
|
|
|
fileAssociations:
|
|
|
|
|
|
- ext: cerumusic
|
|
|
|
|
|
name: CeruMusic File
|
|
|
|
|
|
description: CeruMusic playlist file
|
2025-08-14 13:12:04 +08:00
|
|
|
|
# 如果有证书文件,取消注释以下配置
|
|
|
|
|
|
# certificateFile: path/to/certificate.p12
|
|
|
|
|
|
# certificatePassword: your-password
|
|
|
|
|
|
# 或者使用证书存储
|
|
|
|
|
|
# certificateSubjectName: "Your Company Name"
|
2025-08-13 13:33:43 +08:00
|
|
|
|
nsis:
|
|
|
|
|
|
artifactName: ${name}-${version}-setup.${ext}
|
|
|
|
|
|
shortcutName: ${productName}
|
|
|
|
|
|
uninstallDisplayName: ${productName}
|
|
|
|
|
|
createDesktopShortcut: always
|
2025-08-18 20:42:34 +08:00
|
|
|
|
installerIcon: 'resources/icons/icon.ico'
|
|
|
|
|
|
uninstallerIcon: 'resources/icons/icon.ico'
|
2025-08-18 12:14:09 +08:00
|
|
|
|
oneClick: false
|
|
|
|
|
|
allowToChangeInstallationDirectory: true
|
|
|
|
|
|
allowElevation: true
|
2025-08-13 13:33:43 +08:00
|
|
|
|
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
|
2025-08-27 13:29:49 +08:00
|
|
|
|
url: https://update.ceru.shiqianjiang.cn
|
2025-08-13 13:33:43 +08:00
|
|
|
|
electronDownload:
|
|
|
|
|
|
mirror: https://npmmirror.com/mirrors/electron/
|