mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-12-03 20:30:11 +08:00
refactor(runtime-bundle): extract runtime bundle planning
Plan provider destinations and assets in the crate. Adapt the plan to the Service wire format at the call site.
This commit is contained in:
@@ -31,7 +31,7 @@ async fn validation_fingerprint(yaml: &str) -> u64 {
|
||||
.map(|exe| exe.with_file_name(format!("{}{}", core.as_str(), std::env::consts::EXE_SUFFIX)));
|
||||
// The test run reads geo databases from the app dir; a geo update must revalidate.
|
||||
let geo = dirs::app_home_dir().into_iter().flat_map(|dir| {
|
||||
super::runtime_bundle::GEO_ASSETS
|
||||
clash_verge_runtime_bundle::GEO_ASSETS
|
||||
.iter()
|
||||
.map(move |asset| dir.join(asset))
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user