(params)
| 1 | // Define the `main` function |
| 2 | const proxyName = "代理模式"; |
| 3 | function main(params) { |
| 4 | if (!params.proxies) return params; |
| 5 | overwriteRules(params); |
| 6 | overwriteProxyGroups(params); |
| 7 | overwriteDns(params); |
| 8 | return params; |
| 9 | } |
| 10 | //覆写规则 |
| 11 | function overwriteRules(params) { |
| 12 | const rules = [ |
nothing calls this directly
no test coverage detected