mirror of
https://github.com/Yuyi-Oak/BlueArchiveToolkit.git
synced 2026-07-22 05:55:15 +08:00
feat: add official resource sync pipeline
Add the production-facing official update service and bat-official-sync watch CLI for unattended resource synchronization. Support launcher-resource discovery without installing the launcher, remote marker snapshots, local manifest audit and repair, official seed hash validation, bootstrap caching, richer Addressables coverage, SQLite resource persistence, and FFI JSON helpers.
This commit is contained in:
@@ -42,11 +42,9 @@ impl YostarJpGameMainConfig {
|
||||
}
|
||||
|
||||
fn from_serialized_file(serialized: &UnitySerializedFile) -> Result<Self, String> {
|
||||
let asset = serialized
|
||||
.text_asset("GameMainConfig")
|
||||
.ok_or_else(|| {
|
||||
"GameMainConfig text asset not found in Unity serialized file".to_string()
|
||||
})?;
|
||||
let asset = serialized.text_asset("GameMainConfig").ok_or_else(|| {
|
||||
"GameMainConfig text asset not found in Unity serialized file".to_string()
|
||||
})?;
|
||||
Self::from_encrypted_bytes(&asset.bytes)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user