clash2sfa icon indicating copy to clipboard operation
clash2sfa copied to clipboard

能否不新加而是替换同 tag 的 selector

Open love4taylor opened this issue 2 months ago • 1 comments

没有打开禁用默认生成的 urltest 和 selector 且模版存在

    {
      "type": "selector",
      "tag": "select",
      "outbounds": [
        "exclude: (Traffic Reset|Expire Date|GB |直连|回国)"
      ]
    },

但转出来就是同时存在两个 tag 为 select 的 selector,这样就会无法启动

    "outbounds": [
        {
            "tag": "select",
            "type": "selector",
            "default": "urltest",
            "outbounds": [
                "urltest",
                "a",
                "b"
            ]
        },
        {
            "tag": "urltest",
            "type": "urltest",
            "outbounds": [
                "a",
                "b"
            ]
        },
        {
            "outbounds": [
                "a",
                "b"
            ],
            "tag": "select",
            "type": "selector"
        },

虽然直接禁止生成默认可以避免但是还是会有用同一个模版但有些订阅需要 urltest 的

love4taylor avatar Apr 12 '24 15:04 love4taylor