mirror of
https://github.com/Yuyi-Oak/BlueArchiveToolkit.git
synced 2026-07-22 00:55:15 +08:00
fix: harden official resource sync retries
This commit is contained in:
@@ -71,14 +71,15 @@ cargo run -p bat-infrastructure --bin bat-official-sync -- \
|
||||
--dry-run
|
||||
```
|
||||
|
||||
常驻自动更新,默认每 1 小时检查一次;远端和本地一致时静默:
|
||||
常驻自动更新,正常情况下默认每 1 小时检查一次;远端和本地一致时静默。下载或发现失败时默认 60 秒后重试,可用 `--error-retry 60s` 调整:
|
||||
|
||||
```bash
|
||||
cargo run -p bat-infrastructure --bin bat-official-sync -- \
|
||||
--auto-discover \
|
||||
--platforms Windows,Android \
|
||||
--output /tmp/ba-official-update \
|
||||
--watch
|
||||
--watch \
|
||||
--error-retry 60s
|
||||
```
|
||||
|
||||
生产输出目录必须使用独立状态目录,不要指向已有客户端目录,也不要指向 `/home/wanye/D/BlueArchive` 这类人工维护或开发资源目录。
|
||||
|
||||
Reference in New Issue
Block a user