refactor(config): inject the profile script executor

This commit is contained in:
Tunglies
2026-11-30 18:44:12 +08:00
parent a0e72fbbf0
commit 03554601a6
5 changed files with 94 additions and 60 deletions
+7 -1
View File
@@ -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)
}