chore(version): 0.8.10

This commit is contained in:
kangfenmao 2024-11-07 23:06:42 +08:00
parent a6b4e48640
commit 088628f89f
3 changed files with 15 additions and 5 deletions

View File

@ -63,6 +63,15 @@ electronDownload:
afterSign: scripts/notarize.js
releaseInfo:
releaseNotes: |
支持聊天气泡样式和简洁样式切换
支持导出对话为 Word 文档
错误修复
新功能:
- 增加 Mistral, Hyperbolic, Grok 服务商 @1355873789
- 增加 DuckDuckGo 小程序,无需登录即可使用 GPT-4o-mini 模型
错误修复:
- 修复上下文菜单多语言显示问题 @injurka
- 修复默认模型设置不生效问题 @injurka
- 修复全局快捷键注册失败报错
- 修复导出图片背景颜色错误
- 修复 Github Models 和 Groq 图片无法识别问题
- 修复气泡模式代码颜色问题
- 修复删除最后一组预设消息组后无法保存问题
- 修复拼写错误 @SHLE1

View File

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

View File

@ -1,5 +1,6 @@
import path from 'node:path'
import { ThemeMode } from '@types'
import { BrowserWindow, ipcMain, session, shell } from 'electron'
import { titleBarOverlayDark, titleBarOverlayLight } from './config'
@ -35,7 +36,7 @@ export function registerIpc(mainWindow: BrowserWindow, app: Electron.App) {
})
// theme
ipcMain.handle('app:set-theme', (_, theme: 'light' | 'dark') => {
ipcMain.handle('app:set-theme', (_, theme: ThemeMode) => {
configManager.setTheme(theme)
mainWindow?.setTitleBarOverlay &&
mainWindow.setTitleBarOverlay(theme === 'dark' ? titleBarOverlayDark : titleBarOverlayLight)