feat: 桌面客户端打包 (pywebview + PyInstaller) + 系统通知

- 桌面入口: desktop.py (单实例锁 + 端口探测 + uvicorn + pywebview 窗口)
- 配置层: config.py 加 sys.frozen 检测, frozen 下 data_dir 指向用户目录
- 系统通知: notify_adapter.py 三平台 (Win winotify / mac osascript / Linux notify-send)
  接入 quote_service 告警出口, preferences 开关控制, 前端监控设置加 toggle
- 前端: 监控设置加系统通知开关, 系统设置加检查更新入口
- 打包: packaging/tickflow.spec (onedir, collect-all 原生库, 排除 vectorbt)
- CI: .github/workflows/release.yml 手动触发 + 平台可选 (windows/macos/linux)
- 依赖: platformdirs/winotify/plyer 入主依赖, pywebview 入 desktop extras
- README 加桌面客户端下载章节
- bump 版本号到 0.1.33
This commit is contained in:
shy3130
2026-06-23 21:47:29 +08:00
parent 5c0e5959e9
commit 41be5096dc
16 changed files with 1181 additions and 20 deletions
+7
View File
@@ -89,3 +89,10 @@ data/strategies/custom/
# ===== 临时 / 调试产物 =====
backend._recheck*.py
backend/_verify*.py
backend/_desktop_run.log
# ===== 打包产物 (本地构建的安装包,不入库) =====
backend/TickFlowStockPanel-win-x64.zip
backend/TickFlowStockPanel-macos.zip
backend/TickFlowStockPanel-linux-x64.tar.gz