feat: sing-box 订阅格式修改(如需原始格式 请使用 target=sing-box&produceType=internal); 清理 Clash 系无效字段

This commit is contained in:
xream
2024-03-31 09:36:32 +08:00
parent fa6a274f79
commit e7a2e60963
8 changed files with 44 additions and 2 deletions

View File

@@ -36,8 +36,13 @@ function operator(proxies = [], targetPlatform, context) {
// isIPv6,
// isIP,
// yaml, // yaml 解析和生成
// getFlag, // 获取 emoji 旗帜
// getISO, // 获取 ISO 3166-1 alpha-2 代码
// }
// 示例: 给节点名添加前缀
// $server.name = `[${ProxyUtils.getISO($server.name)}] ${$server.name}`
// 示例: 从 sni 文件中读取内容并进行节点操作
// const sni = await produceArtifact({
// type: 'file',