chore: bump version to 3.2.0
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
> 💻 桌面版仓库 | 🌐 [Web 版历史存档](https://gitee.com/thzxx/metona-ollama-web)
|
> 💻 桌面版仓库 | 🌐 [Web 版历史存档](https://gitee.com/thzxx/metona-ollama-web)
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||

|

|
||||||
@@ -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
@@ -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.1(2026-04-07) — metona-ollama-desktop 仓库
|
### v3.2.0(2026-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-desktop(ID: 600739,仓库 thzxx/metona-ollama-desktop)
|
- ✅ Gitee Release v3.2.0-desktop(ID: 600739,仓库 thzxx/metona-ollama-desktop)
|
||||||
- ⚠️ 构建中遇到问题:npmmirror 缺 electron zip、npm install 卡顿、需安装 Wine。详见上方故障排查。
|
- ⚠️ 构建中遇到问题:npmmirror 缺 electron zip、npm install 卡顿、需安装 Wine。详见上方故障排查。
|
||||||
|
|
||||||
### v3.0.0(2026-04-06)
|
### v3.0.0(2026-04-06)
|
||||||
|
|||||||
+2
-2
@@ -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`
|
||||||
|
|||||||
Generated
+2
-2
@@ -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
@@ -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
@@ -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()
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user