feat(assetbundle): 完成已验证结构的重建发布闭环
bat-rust / Build and test Rust (push) Canceled after 0s
bat-rust / Build and test Go API (push) Canceled after 0s

This commit is contained in:
2026-09-10 00:46:48 +08:00
parent 68c6c91b1e
commit 69b6e36bf0
21 changed files with 1588 additions and 101 deletions
+3
View File
@@ -126,6 +126,8 @@ pub struct OfficialUpdateConfig {
pub download_concurrency: usize,
/// Unzip command used when a metadata change requires GameMainConfig parsing.
pub unzip_command: PathBuf,
/// Zip command used when publishing localized bundles nested in ZIP archives.
pub zip_command: PathBuf,
/// Dry run reports decisions and optional plan URLs without writing sync state.
pub dry_run: bool,
/// Include full download URLs when dry-running.
@@ -162,6 +164,7 @@ impl Default for OfficialUpdateConfig {
curl_proxy: CurlProxyConfig::default(),
download_concurrency: DEFAULT_DOWNLOAD_CONCURRENCY,
unzip_command: PathBuf::from("unzip"),
zip_command: PathBuf::from("zip"),
dry_run: false,
plan: false,
force: false,