Shin Rag

Results 5 comments of Shin Rag

这个问题也困扰我很久了,是否可以考虑用`yq`进行anchor解析 (例如`cat src.yaml | yq -o json | yq -o yaml -P > dst.yaml`),并将`yq`设置为可选依赖? 毕竟anchor本身没有约束,例如我所使用的`health-check`,且可能出现在任何地方 这种情况下加入`yaml_char`的价值并不大 @juewuy

我的意思是需要anchor的一般都是自己配置config的高级用户,这个时候让用户自己部署yq就行了 脚本里的这一行yq命令设为不抛出错误就行了

@juewuy 也是个方法,我只是觉得mihomo本身可以解析的配置,用ShellCrash却不能直接用,才有的这个workaround 确实,正如你所言,引入了额外的依赖不太优雅

Just compiled and tested on my machine, it seems to be working fine. But no plan to add `ext_allow_private_ipv4` related option?

> Great! ;-) Thanks for testing. > > > Just compiled and tested on my machine, it seems to be working fine. But no plan to add `ext_allow_private_ipv4` related option?...