ClashBar 作者:mihomo 当前不能通过接口修改 DNS 配置
Sitoi 引用 mihomo 源码说明 ClashBar 不会改写用户配置;建议向 mihomo 提交支持请求,或手动将订阅转换为 proxy-providers。
作者原文@Sitoihttps://github.com/MetaCubeX/mihomo/blob/Alpha/hub/route/configs.go
mihomo 源码中确实无法修改 DNS 配置,clashbar 不会考虑修改用户配置文件。
- 你可以尝试向 mihomo 提交 issue,让他们支持
- 你可以自己编写配置文件,将订阅转换成 proxy-providers,参考配置文件 https://github.com/Sitoi/ClashBar/blob/main/Sources/ClashBar/Resources/ConfigTemplates/ClashBar.yaml ,可以让ai 帮你修改