chore(version): 1.1.19

This commit is contained in:
kangfenmao 2025-04-07 14:35:34 +08:00
parent 4ef9d52694
commit 96df9f6979
4 changed files with 20 additions and 11 deletions

View File

@ -90,8 +90,7 @@ jobs:
if: matrix.os == 'windows-latest' if: matrix.os == 'windows-latest'
run: | run: |
yarn build:npm windows yarn build:npm windows
yarn build:win:x64 yarn build:win
yarn build:win:arm64
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RENDERER_VITE_AIHUBMIX_SECRET: ${{ vars.RENDERER_VITE_AIHUBMIX_SECRET }} RENDERER_VITE_AIHUBMIX_SECRET: ${{ vars.RENDERER_VITE_AIHUBMIX_SECRET }}

View File

@ -32,7 +32,7 @@ asarUnpack:
- '**/*.{node,dll,metal,exp,lib}' - '**/*.{node,dll,metal,exp,lib}'
win: win:
executableName: Cherry Studio executableName: Cherry Studio
artifactName: ${productName}-${version}-${arch}-portable.${ext} artifactName: ${productName}-${version}-${arch}-setup.${ext}
target: target:
- target: nsis - target: nsis
- target: portable - target: portable
@ -44,6 +44,8 @@ nsis:
allowToChangeInstallationDirectory: true allowToChangeInstallationDirectory: true
oneClick: false oneClick: false
include: build/nsis-installer.nsh include: build/nsis-installer.nsh
portable:
artifactName: ${productName}-${version}-${arch}-portable.${ext}
mac: mac:
entitlementsInherit: build/entitlements.mac.plist entitlementsInherit: build/entitlements.mac.plist
notarize: false notarize: false
@ -83,8 +85,9 @@ afterPack: scripts/after-pack.js
afterSign: scripts/notarize.js afterSign: scripts/notarize.js
releaseInfo: releaseInfo:
releaseNotes: | releaseNotes: |
新增助手级别的 MCP 能力支持 引入全新的 QuickPanel 功能,统一了应用内的输入和搜索操作
改进 MCP 包的安装与管理 新增内存 MCP (in-memory MCP) 服务支持及配置管理
导出单条消息时,增加生成消息标题的功能 新增对七牛云 AI (Qiniu AI) 提供商的支持
快捷助手窗口新增钉住和调整大小的功能 添加了导出菜单选项设置和思维链Chain-of-Thought导出功能
小程序现在支持显示、复制当前实际 URL 消息锚点线支持底部锚点
为 AppImage 添加了多分辨率图标

View File

@ -1,6 +1,6 @@
{ {
"name": "CherryStudio", "name": "CherryStudio",
"version": "1.1.18", "version": "1.1.19",
"private": true, "private": true,
"description": "A powerful AI assistant for producer.", "description": "A powerful AI assistant for producer.",
"main": "./out/main/index.js", "main": "./out/main/index.js",

View File

@ -27,11 +27,18 @@ exports.default = async function (context) {
removeDifferentArchNodeFiles(node_modules_path, '@libsql', _arch) removeDifferentArchNodeFiles(node_modules_path, '@libsql', _arch)
} }
if (platform === 'windows' && arch !== Arch.arm64) { if (platform === 'windows') {
const node_modules_path = path.join(context.appOutDir, 'resources', 'app.asar.unpacked', 'node_modules') const node_modules_path = path.join(context.appOutDir, 'resources', 'app.asar.unpacked', 'node_modules')
if (arch === Arch.arm64) {
removeDifferentArchNodeFiles(node_modules_path, '@strongtz', ['win32-arm64-msvc'])
removeDifferentArchNodeFiles(node_modules_path, '@libsql', ['win32-arm64-msvc'])
}
if (arch === Arch.x64) {
removeDifferentArchNodeFiles(node_modules_path, '@strongtz', ['win32-x64-msvc'])
removeDifferentArchNodeFiles(node_modules_path, '@libsql', ['win32-x64-msvc']) removeDifferentArchNodeFiles(node_modules_path, '@libsql', ['win32-x64-msvc'])
} }
} }
}
function removeDifferentArchNodeFiles(nodeModulesPath, packageName, arch) { function removeDifferentArchNodeFiles(nodeModulesPath, packageName, arch) {
const modulePath = path.join(nodeModulesPath, packageName) const modulePath = path.join(nodeModulesPath, packageName)