refactor(config): inject the profile script executor

This commit is contained in:
Tunglies
2026-12-01 22:09:39 +08:00
parent c5b74aa01d
commit 840de9c4d1
5 changed files with 88 additions and 60 deletions
+1 -1
View File
@@ -265,7 +265,7 @@ pub async fn enhance(
exists_keys,
logs,
discarded_keys,
} = render(profile, settings.render, dns_config).await;
} = render(profile, settings.render, dns_config, clash_verge_profile_script::execute).await;
notify_discarded_keys(discarded_keys);
Ok((config, exists_keys, logs, dns_override))