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' - '!scripts' - '!local' - '!docs' - '!packages' - '!stats.html' - '!*.md' - '!**/*.{map,ts,tsx,jsx,less,scss,sass,css.d.ts,d.cts,d.mts,md,markdown,yaml,yml}' - '!**/{test,tests,__tests__,coverage}/**' - '!**/*.{spec,test}.{js,jsx,ts,tsx}' - '!**/*.min.*.map' - '!**/*.d.ts' - '!**/{.DS_Store,Thumbs.db}' - '!**/{LICENSE,LICENSE.txt,LICENSE-MIT.txt,*.LICENSE.txt,NOTICE.txt,README.md,CHANGELOG.md}' - '!node_modules/rollup-plugin-visualizer' - '!node_modules/js-tiktoken' - '!node_modules/@tavily/core/node_modules/js-tiktoken' - '!node_modules/pdf-parse/lib/pdf.js/{v1.9.426,v1.10.88,v2.0.550}' - '!node_modules/mammoth/{mammoth.browser.js,mammoth.browser.min.js}' asarUnpack: - resources/** - '**/*.{node,dll,metal,exp,lib}' win: executableName: Cherry Studio artifactName: ${productName}-${version}-portable.${ext} target: - target: nsis - target: portable nsis: artifactName: ${productName}-${version}-setup.${ext} shortcutName: ${productName} uninstallDisplayName: ${productName} createDesktopShortcut: always allowToChangeInstallationDirectory: true oneClick: false include: build/nsis-installer.nsh mac: entitlementsInherit: build/entitlements.mac.plist notarize: false artifactName: ${productName}-${version}-${arch}.${ext} 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. target: - target: dmg arch: - arm64 - x64 - target: zip arch: - arm64 - x64 linux: artifactName: ${productName}-${version}-${arch}.${ext} target: - target: AppImage arch: - arm64 - x64 maintainer: electronjs.org category: Utility publish: # provider: generic # url: https://cherrystudio.ocool.online provider: github repo: cherry-studio owner: CherryHQ electronDownload: mirror: https://npmmirror.com/mirrors/electron/ afterPack: scripts/after-pack.js afterSign: scripts/notarize.js releaseInfo: releaseNotes: | 增加坚果云登录和数据同步 增加思源笔记导出功能 MCP 功能改进和优化