perf: 前端页面拆分 + 模型下载断点续传
- pages.dart 按职责拆成 pages/{home,download,settings,about}.dart 四个文件,
pages.dart 保留为聚合 export,调用方 import 路径不变;flutter analyze
No issues,flutter test 8+3 项全过
- 新增 ResumableDownloader:HTTP Range 断点续传,.part 文件用 URL 哈希做
稳定命名,服务器不支持 Range 时自动退化为整段下载
- ModelSourceClient 源码 zip 下载改走断点续传,中断后重试从断点接着下
- 下载并发槽 2 -> 4(更新服务已是 6)
This commit is contained in:
1 parent
4bdfb49600
commit
b4724d7ca0
8 files changed
+2495
-2341
No files matched your search
+6
-2332
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user