桌面端
基于 Tauri v2 + Rust + React 19 的养基宝持仓原生桌面客户端。单用户本地运行,无需 MongoDB 或 fund-helper 后端。
下载
Releases 页在 首次 CI 成功前为空。构建完成后在此下载:
查看构建是否完成:Actions → Desktop Release
功能
不包含:市场排行、板块热力图、多用户管理(无 AKShare / MongoDB)。
技术架构
本地数据(SQLite)
数据文件 data.db 路径:
登录态与通知凭据均从 SQLite 读写,不使用系统钥匙串。
环境要求
- Node.js 18+、pnpm 9+
- Rust stable(
rustup) - macOS:Xcode Command Line Tools
- Windows:WebView2(Win10+ 通常已预装)
开发
若 1420 端口占用:
lsof -ti:1420 | xargs kill -9后重试。
修改src-tauri/icons/会触发 Rust 重编译,属正常现象。
打包
本机单平台
维护者:双平台发布(GitHub Actions,推荐)
不在本机构建 Windows 包;由 CI 在 macOS / Windows runner 上分别打包并发布到 GitHub Releases。
或打开 Actions → Desktop Release → Run workflow,填写版本号。
CI 工作流:.github/workflows/desktop-release.yml
与 monorepo 其他端
算法与 Web/插件对齐:portfolio.rs ↔ calculator.py;通知模板 ↔ backend/app/notify/template.py。
相关文档
- 根目录 README — 总览与下载
- assets/releases/README.md — 发布产物说明
- TECH.md §18 — 架构细节