dev-manager-tauri/.blueprint/modules/auto-update.md
lanrtop 0cdaa3678c feat: add Blueprint feature to ProjectCard and commands
- Introduced BlueprintModal in ProjectCard for project blueprint visualization.
- Added state management for displaying the BlueprintModal.
- Implemented Blueprint-related interfaces and functions in commands.ts for handling blueprint data.
2026-04-02 19:12:53 +09:00

41 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: auto-update
name: 客户端自动更新
status: done
progress: 90
---
## 概述
基于 tauri-plugin-updater 的客户端自动更新,检查阿里云 OSS 上的 latest.json发现新版本后下载安装。
完整指南见 docs/tauri-updater-guide.md。
## 任务卡
### ✅ 更新检测
- status: done
- files: src/components/settings/SettingsPage.tsx
点击「检查更新」请求 latest.json 比对版本号。
### ✅ 下载 & 安装
- status: done
- files: src/components/settings/SettingsPage.tsx
下载安装包(带进度条),安装后自动重启。
### ✅ 错误提示
- status: done
- files: src/components/settings/SettingsPage.tsx
错误信息完整展示,支持一键复制。
### ✅ Capabilities 权限配置
- status: done
- files: src-tauri/capabilities/default.json
updater:default + process:default + http 域名放行。
### 💭 自动检查更新
- status: concept
- notes: 应用启动时自动检查,发现新版本后在状态栏提示,而非需要手动进入设置页。