diff --git a/README.md b/README.md index 182fc7f..4610089 100644 --- a/README.md +++ b/README.md @@ -30,13 +30,14 @@ Core functionalities: - [x] SSR URI - [x] SSD URI - [x] V2RayN URI +- [x] Hysteria2 URI - [x] QX (SS, SSR, VMess, Trojan, HTTP) - [x] Loon (SS, SSR, VMess, Trojan, HTTP, WireGuard, VLESS) -- [x] Surge (SS, VMess, Trojan, HTTP, TUIC, Snell, SSR(external, only for macOS), WireGuard(Surge to Surge)) -- [x] ShadowRocket (SS, SSR, VMess, Trojan, HTTP, Snell, VLESS, WireGuard, Hysteria) -- [x] Clash.Meta (SS, SSR, VMess, Trojan, HTTP, Snell, VLESS, WireGuard, Hysteria) +- [x] Surge (SS, VMess, Trojan, HTTP, TUIC, Snell, Hysteria2, SSR(external, only for macOS), WireGuard(Surge to Surge)) +- [x] ShadowRocket (SS, SSR, VMess, Trojan, HTTP, Snell, VLESS, Hysteria2) +- [x] Clash.Meta (SS, SSR, VMess, Trojan, HTTP, Snell, VLESS, WireGuard, Hysteria, Hysteria2) - [x] Stash (SS, SSR, VMess, Trojan, HTTP, Snell, VLESS, WireGuard, Hysteria) -- [x] Clash (SS, SSR, VMess, Trojan, HTTP, Snell) +- [x] Clash (SS, SSR, VMess, Trojan, HTTP, Snell, VLESS, WireGuard) ### Supported Target Platforms diff --git a/backend/package.json b/backend/package.json index 41f8744..c7da15b 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.14.74", + "version": "2.14.75", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "main": "src/main.js", "scripts": { diff --git a/backend/src/core/proxy-utils/parsers/index.js b/backend/src/core/proxy-utils/parsers/index.js index 27e89ea..d1a3487 100644 --- a/backend/src/core/proxy-utils/parsers/index.js +++ b/backend/src/core/proxy-utils/parsers/index.js @@ -441,7 +441,10 @@ function URI_Hysteria2() { if (!proxy.sni && params.peer) { proxy.sni = params.peer; } - proxy.obfs = params.obfs; + if (params.obfs && params.obfs !== 'none') { + proxy.obfs = params.obfs; + } + proxy['obfs-password'] = params['obfs-password']; proxy['skip-cert-verify'] = /(TRUE)|1/i.test(params.insecure); proxy.tfo = /(TRUE)|1/i.test(params.fastopen);