feat: 支持输出到 sing-box; 文件脚本支持 ` ; 脚本支持 ProxyUtils.yaml`

This commit is contained in:
xream
2024-01-13 10:28:07 +08:00
parent 628e280383
commit 61df4d2144
11 changed files with 729 additions and 26 deletions

View File

@@ -32,6 +32,8 @@ export function getPlatformFromHeaders(headers) {
return 'Clash';
} else if (ua.indexOf('v2ray') !== -1) {
return 'V2Ray';
} else if (ua.indexOf('sing-box') !== -1) {
return 'sing-box';
} else {
return 'JSON';
}