refactor(updates): pass typed runtime policy to deskup
This commit is contained in:
1 parent
1ef8edc8bc
commit
d83f94afd5
13 files changed
+158
-102
No files matched your search
@@ -75,6 +75,8 @@ python3 tool/windows/windows_updates.py pack --help
|
||||
|
||||
提升应用构建号,保留当前线上更新索引供版本检查;development 与 production 使用独立发布目录。脚本只生成产物,不上传。完整升级模拟使用各平台的 `test_*_updates.py`,参数见 `--help`,测试包不用于分发。
|
||||
|
||||
deskup 0.3.0 的开发更新源由 Dart 参数配置。Windows 的编译期配置示例见 [Windows 更新文档](../docs/windows-updates.md)。macOS 本地 HTTP 更新测试的源应用需使用 `--flavor development --dart-define=CUTDEX_UPDATE_TEST_HTTP=true` 构建,再运行 `test_macos_updates.py`;签名公钥和 appcast 仍由打包工具写入应用 Info.plist。
|
||||
|
||||
## 诊断与共享测试入口
|
||||
|
||||
- `diagnostics/frame_budget.py`:读取 `CUTDEX_FRAME_TIMINGS` JSONL,可带阶段标记文件;报告帧耗时。
|
||||
|
||||
Reference in new issue
Block a user