mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-02-06 02:51:07 +08:00
206 lines
7.6 KiB
YAML
206 lines
7.6 KiB
YAML
appId: com.kangfenmao.CherryStudio
|
||
productName: Cherry Studio
|
||
electronLanguages:
|
||
- zh-CN
|
||
- zh-TW
|
||
- en-US
|
||
- ja # macOS/linux/win
|
||
- ru # macOS/linux/win
|
||
- zh_CN # for macOS
|
||
- zh_TW # for macOS
|
||
- en # for macOS
|
||
- de
|
||
directories:
|
||
buildResources: build
|
||
|
||
protocols:
|
||
- name: Cherry Studio
|
||
schemes:
|
||
- cherrystudio
|
||
files:
|
||
- "**/*"
|
||
- "!**/{.vscode,.yarn,.yarn-lock,.github,.cursorrules,.prettierrc}"
|
||
- "!electron.vite.config.{js,ts,mjs,cjs}}"
|
||
- "!.*"
|
||
- "!components.json"
|
||
- "!**/{.eslintignore,.eslintrc.js,.eslintrc.json,.eslintcache,root.eslint.config.js,eslint.config.js,.eslintrc.cjs,.prettierignore,.prettierrc.yaml,eslint.config.mjs,dev-app-update.yml,CHANGELOG.md,README.md,biome.jsonc}"
|
||
- "!**/{.env,.env.*,.npmrc,pnpm-lock.yaml}"
|
||
- "!**/{tsconfig.json,tsconfig.tsbuildinfo,tsconfig.node.json,tsconfig.web.json}"
|
||
- "!**/{.editorconfig,.jekyll-metadata}"
|
||
- "!src"
|
||
- "!config"
|
||
- "!patches"
|
||
- "!app-upgrade-config.json"
|
||
- "!**/node_modules/**/*.cpp"
|
||
- "!**/node_modules/node-addon-api/**"
|
||
- "!**/node_modules/prebuild-install/**"
|
||
- "!scripts"
|
||
- "!local"
|
||
- "!docs"
|
||
- "!packages"
|
||
- "!.swc"
|
||
- "!.bin"
|
||
- "!._*"
|
||
- "!*.log"
|
||
- "!stats.html"
|
||
- "!*.md"
|
||
- "!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}"
|
||
- "!**/*.{map,ts,tsx,jsx,less,scss,sass,css.d.ts,d.cts,d.mts,md,markdown,yaml,yml}"
|
||
- "!**/{test,tests,__tests__,powered-test,coverage}/**"
|
||
- "!**/{example,examples}/**"
|
||
- "!**/*.{spec,test}.{js,jsx,ts,tsx}"
|
||
- "!**/*.min.*.map"
|
||
- "!**/*.d.ts"
|
||
- "!**/dist/es6/**"
|
||
- "!**/dist/demo/**"
|
||
- "!**/amd/**"
|
||
- "!**/{.DS_Store,Thumbs.db,thumbs.db,__pycache__}"
|
||
- "!**/{LICENSE,license,LICENSE.*,*.LICENSE.txt,NOTICE.txt,README.md,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}"
|
||
- "!node_modules/selection-hook/prebuilds/**/*" # we rebuild .node, don't use prebuilds
|
||
- "!node_modules/selection-hook/node_modules" # we don't need what in the node_modules dir
|
||
- "!node_modules/selection-hook/src" # we don't need source files
|
||
- "!node_modules/tesseract.js-core/{tesseract-core.js,tesseract-core.wasm,tesseract-core.wasm.js}" # we don't need source files
|
||
- "!node_modules/tesseract.js-core/{tesseract-core-lstm.js,tesseract-core-lstm.wasm,tesseract-core-lstm.wasm.js}" # we don't need source files
|
||
- "!node_modules/tesseract.js-core/{tesseract-core-simd-lstm.js,tesseract-core-simd-lstm.wasm,tesseract-core-simd-lstm.wasm.js}" # we don't need source files
|
||
- "!**/*.{h,iobj,ipdb,tlog,recipe,vcxproj,vcxproj.filters,Makefile,*.Makefile}" # filter .node build files
|
||
asarUnpack:
|
||
- resources/**
|
||
- "**/*.{metal,exp,lib}"
|
||
- "node_modules/@img/sharp-libvips-*/**"
|
||
|
||
# copy from node_modules/claude-code-plugins/plugins to resources/data/claude-code-pluginso
|
||
extraResources:
|
||
- from: "./node_modules/claude-code-plugins/plugins/"
|
||
to: "claude-code-plugins"
|
||
|
||
win:
|
||
executableName: Cherry Studio
|
||
artifactName: ${productName}-${version}-${arch}-setup.${ext}
|
||
target:
|
||
- target: nsis
|
||
- target: portable
|
||
signtoolOptions:
|
||
sign: scripts/win-sign.js
|
||
verifyUpdateCodeSignature: false
|
||
nsis:
|
||
artifactName: ${productName}-${version}-${arch}-setup.${ext}
|
||
shortcutName: ${productName}
|
||
uninstallDisplayName: ${productName}
|
||
createDesktopShortcut: always
|
||
allowToChangeInstallationDirectory: true
|
||
oneClick: false
|
||
include: build/nsis-installer.nsh
|
||
buildUniversalInstaller: false
|
||
differentialPackage: false
|
||
portable:
|
||
artifactName: ${productName}-${version}-${arch}-portable.${ext}
|
||
buildUniversalInstaller: false
|
||
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
|
||
- target: zip
|
||
dmg:
|
||
writeUpdateInfo: false
|
||
linux:
|
||
artifactName: ${productName}-${version}-${arch}.${ext}
|
||
executableName: CherryStudio
|
||
target:
|
||
- target: AppImage
|
||
- target: deb
|
||
- target: rpm
|
||
- target: pacman
|
||
maintainer: electronjs.org
|
||
category: Utility
|
||
desktop:
|
||
entry:
|
||
Name: Cherry Studio
|
||
StartupWMClass: CherryStudio
|
||
mimeTypes:
|
||
- x-scheme-handler/cherrystudio
|
||
rpm:
|
||
# Workaround for electron build issue on rpm package:
|
||
# https://github.com/electron/forge/issues/3594
|
||
fpm: ["--rpm-rpmbuild-define=_build_id_links none"]
|
||
publish:
|
||
provider: generic
|
||
url: https://releases.cherry-ai.com
|
||
electronDownload:
|
||
mirror: https://npmmirror.com/mirrors/electron/
|
||
beforePack: scripts/before-pack.js
|
||
afterPack: scripts/after-pack.js
|
||
afterSign: scripts/notarize.js
|
||
artifactBuildCompleted: scripts/artifact-build-completed.js
|
||
releaseInfo:
|
||
releaseNotes: |
|
||
<!--LANG:en-->
|
||
Cherry Studio 1.7.14 - New Features & Improvements
|
||
|
||
✨ New Features
|
||
- [Notes] Add export to Word document functionality
|
||
- [Code Tools] Add Kimi CLI support with auto-configuration
|
||
- [Code Tools] Support custom providers
|
||
- [Settings] Support viewing detailed error messages when model detection fails
|
||
- [Topics] Display year in topic timestamps (YYYY/MM/DD format)
|
||
- [Linux] Add system title bar setting option
|
||
- [Models] Add Baichuan m3/m3-plus models
|
||
- [Models] Add Qwen text-embedding models
|
||
|
||
🎨 Improvements
|
||
- [Translate] Simplify translation with single target language selector
|
||
- [Topics] Unpinned topics now move to top with auto-scroll
|
||
- [Minapps] Add locale-based filtering support
|
||
- [i18n] Update Romanian localization
|
||
|
||
🐛 Bug Fixes
|
||
- [Linux] Fix icon display and deb/rpm installation issues
|
||
- [Linux] Fix window not coming to front when clicking tray
|
||
- [Linux] Add Alpine Linux (musl) support
|
||
- [Code Tools] Fix Windows Terminal issues
|
||
- [Azure] Fix API preview link for completion mode
|
||
- [Images] Fix trailing slashes in API URLs for image generation
|
||
- [OpenRouter] Fix MCP tools support
|
||
- [Chat] Fix image enhancement model conversation history
|
||
|
||
<!--LANG:zh-CN-->
|
||
Cherry Studio 1.7.14 - 新功能与改进
|
||
|
||
✨ 新功能
|
||
- [笔记] 支持导出为 Word 文档
|
||
- [代码工具] 新增 Kimi CLI 支持,自动配置环境
|
||
- [代码工具] 支持自定义服务商
|
||
- [设置] 模型检测失败时可查看详细错误信息
|
||
- [话题] 时间戳显示年份(YYYY/MM/DD 格式)
|
||
- [Linux] 新增系统标题栏设置选项
|
||
- [模型] 新增百川 m3/m3-plus 模型
|
||
- [模型] 新增通义 Embedding 模型
|
||
|
||
🎨 改进
|
||
- [翻译] 简化翻译操作,使用单一目标语言选择
|
||
- [话题] 取消置顶的话题移动到顶部并自动滚动
|
||
- [小程序] 支持按语言筛选小程序
|
||
- [国际化] 更新罗马尼亚语翻译
|
||
|
||
🐛 问题修复
|
||
- [Linux] 修复图标显示和 deb/rpm 安装问题
|
||
- [Linux] 修复点击托盘后窗口无法置顶的问题
|
||
- [Linux] 新增 Alpine Linux (musl) 支持
|
||
- [代码工具] 修复 Windows 终端问题
|
||
- [Azure] 修复完成模式下 API 预览链接
|
||
- [图片生成] 修复 API 地址结尾斜杠问题
|
||
- [OpenRouter] 修复 MCP 工具支持
|
||
- [对话] 修复图片增强模型对话历史丢失问题
|
||
<!--LANG:END-->
|