mirror of
https://github.com/timeshiftsauce/CeruMusic.git
synced 2025-11-25 03:15:07 +08:00
68 lines
2.1 KiB
YAML
68 lines
2.1 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'
|
||
target:
|
||
- target: nsis
|
||
arch:
|
||
- x64
|
||
- ia32
|
||
# 简化版本信息设置,避免rcedit错误
|
||
fileAssociations:
|
||
- ext: cerumusic
|
||
name: CeruMusic File
|
||
description: CeruMusic playlist file
|
||
# 如果有证书文件,取消注释以下配置
|
||
# certificateFile: path/to/certificate.p12
|
||
# certificatePassword: your-password
|
||
# 或者使用证书存储
|
||
# certificateSubjectName: "Your Company Name"
|
||
nsis:
|
||
artifactName: ${name}-${version}-${arch}-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://update.ceru.shiqianjiang.cn
|
||
electronDownload:
|
||
mirror: https://npmmirror.com/mirrors/electron/
|