mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-12-01 02:20:07 +08:00
refactor(config): inject the profile script executor
This commit is contained in:
@@ -281,7 +281,13 @@ pub(crate) async fn enhance(
|
||||
exists_keys,
|
||||
logs,
|
||||
discarded_keys,
|
||||
} = render(inputs.profile, inputs.settings, inputs.dns_config).await;
|
||||
} = render(
|
||||
inputs.profile,
|
||||
inputs.settings,
|
||||
inputs.dns_config,
|
||||
clash_verge_profile_script::execute,
|
||||
)
|
||||
.await;
|
||||
notify_discarded_keys(discarded_keys);
|
||||
(config, exists_keys, logs, inputs.dns_override)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user