mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-03 18:24:58 +00:00
Support setting output style for proxy groups in Clash configs (#734)
This commit is contained in:
8 files changed
+36
-9
No files matched your search
@@ -415,6 +415,7 @@ std::string subconverter(RESPONSE_CALLBACK_ARGS)
|
||||
argExpandRulesets.define(true);
|
||||
|
||||
ext.clash_proxies_style = global.clashProxiesStyle;
|
||||
ext.clash_proxy_groups_style = global.clashProxyGroupsStyle;
|
||||
|
||||
/// read preference from argument, assign global var if not in argument
|
||||
ext.tfo.define(argTFO).define(global.TFOFlag);
|
||||
@@ -1073,6 +1074,7 @@ std::string surgeConfToClash(RESPONSE_CALLBACK_ARGS)
|
||||
ext.skip_cert_verify = global.skipCertVerify;
|
||||
ext.tls13 = global.TLS13Flag;
|
||||
ext.clash_proxies_style = global.clashProxiesStyle;
|
||||
ext.clash_proxy_groups_style = global.clashProxyGroupsStyle;
|
||||
|
||||
ProxyGroupConfigs dummy_groups;
|
||||
proxyToClash(nodes, clash, dummy_groups, false, ext);
|
||||
|
||||
Reference in new issue
Block a user