我基于之前的老项目写了一个 node list 的转换器,让他带有 .sgmodule
的生成功能以快速配置代理提供商订阅明细的面板。由于其自动定制的特性,此 .sgmodule 的 URL 会在后面加有 URL Parameter。经测试,现在 Surge Mac 与 iOS 均不认 /path/to/api.sgmodule?param1=text¶m2=text
的内容,仅判断 URL 结尾是否 .sgmodule
。所以我现在只能用很脏的方法,改成 /path/to/api?param1=text¶m2=text&format=.sgmodule
。如果能修改这方面的逻辑,易用性就能好很多了。
BTW detached conf 也有类似的情况出现。我的 detached conf 托管在 Alist 上,并开启了 sign。我尝试了在 Surge Config 中参入该 dconf #!include "https://alist.example.com/d/example/example.dconf?sign=example
后 Surge 无法将此文件识别为 detached config 从而导致此配置失效。