🆕 后端
2.14.216🟢带参数
includeUnsupportedProxy 时, 支持输出 📈 Surge 的 WireGuard Section方便部分高级用户使用
如图, 目前支持作为
WireGuard 输入的语法有: 🎈Loon 单行
🐱 Clash.Meta(mihomo), 🐱 Clash
proxies 多行 YAML 或 单行 JSON注意: 📈 Surge
WireGuard Proxy 部分仅支持同入同出(用处不大). 而使用上述几种完整输入方式, 并使用新版本后, 可得到完整数据:# WireGuard Proxy WARP+
WARP+=wireguard,section-name=WARP+
# WireGuard Section WARP+
[WireGuard WARP+]
...
所有参数均已进行兼容支持. 其中 Surge 的
prefer-ipv6 参数需按照 🐱 Clash.Meta(mihomo) 写法, 例:{ "type":"wireguard","name":"WARP+", "ip-version": "ipv6-prefer", ... }或
proxies:
- name: "wg"
type: wireguard
ip-version: ipv6-prefer
若在文件中使用脚本操作来输出:
let proxies = await produceArtifact({
type: 'subscription', // 'subscription' 订阅 或 'collection' 组合订阅
name: 'sub', // 订阅的 name
platform: 'Surge',
produceOpts: {
'include-unsupported-proxy': true,
}
})
$content = proxies❗ 相关内容
链接参数说明 脚本使用说明
🎲 Sub-Store 代理 App 版安装下载
🛠 Sub-Store 服务器/云平台/Docker/Android 版的相关教程


