mirror of
https://github.com/Yuyi-Oak/BlueArchiveToolkit.git
synced 2026-07-22 04:15:14 +08:00
feat: prepare experiment push package
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
use bat_adapters::manifest::{AddressablesCatalogDriver, ManifestDriverRegistry};
|
||||
use bat_adapters::manifest::ManifestDriver;
|
||||
use bat_adapters::manifest::{AddressablesCatalogDriver, ManifestDriverRegistry};
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> anyhow::Result<()> {
|
||||
@@ -10,16 +10,16 @@ async fn main() -> anyhow::Result<()> {
|
||||
let driver = AddressablesCatalogDriver::new();
|
||||
println!("✅ Driver: {}", driver.name());
|
||||
|
||||
// 模拟 Addressables Catalog
|
||||
// 合成 Addressables Catalog,仅用于演示解析接口。
|
||||
println!("\n📦 解析 Addressables Catalog...");
|
||||
let catalog_json = r#"{
|
||||
"m_LocatorId": "AddressablesMainContentCatalog",
|
||||
"m_InternalIdPrefixes": ["https://cdn.example.com/"],
|
||||
"m_InternalIdPrefixes": ["https://synthetic.invalid/"],
|
||||
"m_InternalIds": [
|
||||
"academy-model.bundle",
|
||||
"academy-texture.bundle",
|
||||
"ui-atlas.bundle",
|
||||
"TableBundles-JP.bundle"
|
||||
"synthetic/model.bundle",
|
||||
"synthetic/texture.bundle",
|
||||
"synthetic/ui-atlas.bundle",
|
||||
"synthetic/table-manifest.json"
|
||||
]
|
||||
}"#;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user