chore: bump version to 3.2.0

This commit is contained in:
thzxx
2026-04-07 18:21:26 +08:00
parent 93e1b8e6b7
commit 9485b4c09e
7 changed files with 19 additions and 19 deletions
+5 -5
View File
@@ -4,7 +4,7 @@
> 💻 桌面版仓库 | 🌐 [Web 版历史存档](https://gitee.com/thzxx/metona-ollama-web) > 💻 桌面版仓库 | 🌐 [Web 版历史存档](https://gitee.com/thzxx/metona-ollama-web)
![版本](https://img.shields.io/badge/version-3.1.1--desktop-brightgreen) ![版本](https://img.shields.io/badge/version-3.2.0--desktop-brightgreen)
![平台](https://img.shields.io/badge/platform-Windows%20x64-blue) ![平台](https://img.shields.io/badge/platform-Windows%20x64-blue)
![TypeScript](https://img.shields.io/badge/TypeScript-5.7-3178c6) ![TypeScript](https://img.shields.io/badge/TypeScript-5.7-3178c6)
![Electron](https://img.shields.io/badge/Electron-33-47848f) ![Electron](https://img.shields.io/badge/Electron-33-47848f)
@@ -155,8 +155,8 @@ v3.0 三大子系统协调运作:
| 文件 | 类型 | | 文件 | 类型 |
|------|------| |------|------|
| `Metona Ollama Setup 3.1.1.exe` | NSIS 安装包(可选目录、创建快捷方式) | | `Metona Ollama Setup 3.2.0.exe` | NSIS 安装包(可选目录、创建快捷方式) |
| `MetonaOllama-Portable-3.1.1.exe` | 绿色便携版(免安装,双击即用) | | `MetonaOllama-Portable-3.2.0.exe` | 绿色便携版(免安装,双击即用) |
> ⚠️ 未签名版本,首次运行 Windows 可能弹出安全警告,点击「仍要运行」即可。 > ⚠️ 未签名版本,首次运行 Windows 可能弹出安全警告,点击「仍要运行」即可。
@@ -174,7 +174,7 @@ v3.0 三大子系统协调运作:
```bash ```bash
git clone https://gitee.com/thzxx/metona-ollama-desktop.git git clone https://gitee.com/thzxx/metona-ollama-desktop.git
cd metona-ollama-desktop cd metona-ollama-desktop
git checkout metona-ollama-desktop-v3.1.1 git checkout metona-ollama-desktop-v3.2.0
# 安装依赖(国内使用 npmmirror 加速) # 安装依赖(国内使用 npmmirror 加速)
npm config set registry https://registry.npmmirror.com npm config set registry https://registry.npmmirror.com
@@ -345,7 +345,7 @@ metona-ollama-desktop/
### 最新版本 ### 最新版本
**v3.1.1** — 代码质量 & 桌面原生化 **v3.2.0** — 代码质量 & 桌面原生化
- ♻️ 渲染进程 58 处 console.log 全部迁移至结构化 log-service - ♻️ 渲染进程 58 处 console.log 全部迁移至结构化 log-service
- 🖥️ 所有文件对话框(上传/保存/导入)改用 Electron 原生对话框 - 🖥️ 所有文件对话框(上传/保存/导入)改用 Electron 原生对话框
- 🪙 Header 新增当前会话总 token 消耗统计 - 🪙 Header 新增当前会话总 token 消耗统计
+7 -7
View File
@@ -103,7 +103,7 @@ npm run dist # 全部(NSIS + Portable
TOKEN="your_access_token" TOKEN="your_access_token"
curl -X POST "https://gitee.com/api/v5/repos/thzxx/metona-ollama/releases?access_token=$TOKEN" \ curl -X POST "https://gitee.com/api/v5/repos/thzxx/metona-ollama/releases?access_token=$TOKEN" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d '{"tag_name":"v3.1.1","name":"v3.1.1","body":"Release notes","target_commitish":"refactor/modular-architecture"}' -d '{"tag_name":"v3.2.0","name":"v3.2.0","body":"Release notes","target_commitish":"refactor/modular-architecture"}'
``` ```
### 上传附件 ### 上传附件
@@ -112,9 +112,9 @@ curl -X POST "https://gitee.com/api/v5/repos/thzxx/metona-ollama/releases?access
TOKEN="your_access_token" TOKEN="your_access_token"
RELEASE_ID="600564" RELEASE_ID="600564"
curl -X POST "https://gitee.com/api/v5/repos/thzxx/metona-ollama/releases/$RELEASE_ID/attach_files?access_token=$TOKEN" \ curl -X POST "https://gitee.com/api/v5/repos/thzxx/metona-ollama/releases/$RELEASE_ID/attach_files?access_token=$TOKEN" \
-H "Content-Type: multipart/form-data" -F "file=@release/Metona Ollama Setup 3.1.1.exe" -H "Content-Type: multipart/form-data" -F "file=@release/Metona Ollama Setup 3.2.0.exe"
curl -X POST "https://gitee.com/api/v5/repos/thzxx/metona-ollama/releases/$RELEASE_ID/attach_files?access_token=$TOKEN" \ curl -X POST "https://gitee.com/api/v5/repos/thzxx/metona-ollama/releases/$RELEASE_ID/attach_files?access_token=$TOKEN" \
-H "Content-Type: multipart/form-data" -F "file=@release/MetonaOllama-Portable-3.1.1.exe" -H "Content-Type: multipart/form-data" -F "file=@release/MetonaOllama-Portable-3.2.0.exe"
``` ```
## 故障排查 ## 故障排查
@@ -142,11 +142,11 @@ electron-builder 会自动处理所有依赖下载(Electron、NSIS、winCodeSi
## 构建日志 ## 构建日志
### v3.1.12026-04-07 — metona-ollama-desktop 仓库 ### v3.2.02026-04-07 — metona-ollama-desktop 仓库
-`Metona Ollama Setup 3.1.1.exe`78MB -`Metona Ollama Setup 3.2.0.exe`78MB
-`MetonaOllama-Portable-3.1.1.exe`78MB -`MetonaOllama-Portable-3.2.0.exe`78MB
- ✅ Gitee Release v3.1.1-desktopID: 600739,仓库 thzxx/metona-ollama-desktop - ✅ Gitee Release v3.2.0-desktopID: 600739,仓库 thzxx/metona-ollama-desktop
- ⚠️ 构建中遇到问题:npmmirror 缺 electron zip、npm install 卡顿、需安装 Wine。详见上方故障排查。 - ⚠️ 构建中遇到问题:npmmirror 缺 electron zip、npm install 卡顿、需安装 Wine。详见上方故障排查。
### v3.0.02026-04-06 ### v3.0.02026-04-06
+2 -2
View File
@@ -3,7 +3,7 @@
## 分支结构 ## 分支结构
**桌面版主线**`master`): **桌面版主线**`master`):
- `metona-ollama-desktop-v1``metona-ollama-desktop-v1.1``metona-ollama-desktop-v2``metona-ollama-desktop-v3``metona-ollama-desktop-v3.1.1`(当前) - `metona-ollama-desktop-v1``metona-ollama-desktop-v1.1``metona-ollama-desktop-v2``metona-ollama-desktop-v3``metona-ollama-desktop-v3.2.0`(当前)
**Web 版历史**已独立为 [metona-ollama-web](https://gitee.com/thzxx/metona-ollama-web) 仓库(v1.1.0 ~ v4.0.3)。 **Web 版历史**已独立为 [metona-ollama-web](https://gitee.com/thzxx/metona-ollama-web) 仓库(v1.1.0 ~ v4.0.3)。
@@ -11,7 +11,7 @@
## 桌面版(Desktop ## 桌面版(Desktop
### Desktop v3.1.1 — 代码质量 & 桌面原生化 ### Desktop v3.2.0 — 代码质量 & 桌面原生化
- ♻️ **结构化日志系统** - ♻️ **结构化日志系统**
- 渲染进程 58 处 `console.log/warn/error` 全部迁移至 `log-service.ts` - 渲染进程 58 处 `console.log/warn/error` 全部迁移至 `log-service.ts`
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "metona-ollama-desktop", "name": "metona-ollama-desktop",
"version": "3.1.1", "version": "3.2.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "metona-ollama-desktop", "name": "metona-ollama-desktop",
"version": "3.1.1", "version": "3.2.0",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@types/node": "^20.17.0", "@types/node": "^20.17.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "metona-ollama-desktop", "name": "metona-ollama-desktop",
"version": "3.1.1", "version": "3.2.0",
"description": "Metona Ollama - TypeScript + Electron 桌面 AI 聊天客户端", "description": "Metona Ollama - TypeScript + Electron 桌面 AI 聊天客户端",
"main": "dist/main/main.js", "main": "dist/main/main.js",
"author": "thzxx", "author": "thzxx",
+1 -1
View File
@@ -101,7 +101,7 @@ export function createMenu(): void {
dialog.showMessageBox(mainWindow!, { dialog.showMessageBox(mainWindow!, {
type: 'info', type: 'info',
title: '关于 Metona Ollama', title: '关于 Metona Ollama',
message: 'Metona Ollama Desktop v3.1.1', message: 'Metona Ollama Desktop v3.2.0',
detail: 'TypeScript + Electron Ollama AI 聊天客户端\n\nhttps://gitee.com/thzxx/metona-ollama', detail: 'TypeScript + Electron Ollama AI 聊天客户端\n\nhttps://gitee.com/thzxx/metona-ollama',
icon: getIconPath() icon: getIconPath()
}); });
+1 -1
View File
@@ -27,7 +27,7 @@
<div class="header-left"> <div class="header-left">
<span class="logo">🦙</span> <span class="logo">🦙</span>
<span class="app-title">Metona Ollama</span> <span class="app-title">Metona Ollama</span>
<span class="app-version">v3.1.1</span> <span class="app-version">v3.2.0</span>
<button class="icon-btn help-btn" id="btnHelp" title="使用帮助"> <button class="icon-btn help-btn" id="btnHelp" title="使用帮助">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<circle cx="12" cy="12" r="10"/><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"/> <circle cx="12" cy="12" r="10"/><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"/>