appId: com.kangfenmao.CherryStudio
productName: Cherry Studio
directories:
  buildResources: build
files:
  - '!{.vscode,.yarn,.github}'
  - '!electron.vite.config.{js,ts,mjs,cjs}'
  - '!{.eslintignore,.eslintrc.cjs,.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}'
  - '!src/*'
  - '!local'
asarUnpack:
  - resources/**
win:
  executableName: Cherry Studio
nsis:
  artifactName: ${productName}-${version}-setup.${ext}
  shortcutName: ${productName}
  uninstallDisplayName: ${productName}
  createDesktopShortcut: always
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
  target:
    - target: dmg
      arch:
        - arm64
        - x64
    - target: zip
      arch:
        - arm64
        - x64
dmg:
  artifactName: ${productName}-${version}-${arch}.${ext}
linux:
  target:
    - AppImage
    # - snap
    # - deb
  maintainer: electronjs.org
  category: Utility
appImage:
  artifactName: ${productName}-${version}.${ext}
npmRebuild: false
publish:
  provider: github
  repo: cherry-studio
  owner: kangfenmao
electronDownload:
  mirror: https://npmmirror.com/mirrors/electron/
afterSign: scripts/notarize.js
releaseInfo:
  releaseNotes: |
    本次更新：
      支持行内公式
      支持编辑所有集成的服务商API地址
      新增智能体搜索功能(>10个)
      修复正则表达式显示错误
      修复默认模型参数不生效
      修复暗黑模式下分界线不明显问题
    近期更新：
      智能助理和消息列表合并
      优化输入框样式
      提升小程序稳定性
