From 6d78eb73563e2e26c8fbef1c89f96b2bb7967c13 Mon Sep 17 00:00:00 2001 From: xream Date: Tue, 24 Dec 2024 15:08:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20Clash=20=E7=B3=BB=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E6=94=AF=E6=8C=81=20mieru;=20=E8=B0=83=E6=95=B4=20juicity=20?= =?UTF-8?q?=E5=92=8C=20mieru=20=E7=9B=B8=E5=85=B3=E8=BF=87=E6=BB=A4?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/package.json | 2 +- backend/src/core/proxy-utils/parsers/index.js | 2 ++ backend/src/core/proxy-utils/producers/clashmeta.js | 2 ++ backend/src/core/proxy-utils/producers/shadowrocket.js | 2 ++ 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/backend/package.json b/backend/package.json index c70a57e..89c9e92 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.14.449", + "version": "2.14.450", "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 545e89b..4602299 100644 --- a/backend/src/core/proxy-utils/parsers/index.js +++ b/backend/src/core/proxy-utils/parsers/index.js @@ -929,6 +929,8 @@ function Clash_All() { const proxy = JSON.parse(line); if ( ![ + 'mieru', + 'juicity', 'ss', 'ssr', 'vmess', diff --git a/backend/src/core/proxy-utils/producers/clashmeta.js b/backend/src/core/proxy-utils/producers/clashmeta.js index 4b1383c..3afe121 100644 --- a/backend/src/core/proxy-utils/producers/clashmeta.js +++ b/backend/src/core/proxy-utils/producers/clashmeta.js @@ -8,6 +8,8 @@ export default function ClashMeta_Producer() { if (opts['include-unsupported-proxy']) return true; if (proxy.type === 'snell' && String(proxy.version) === '4') { return false; + } else if (['juicity'].includes(proxy.type)) { + return false; } return true; }) diff --git a/backend/src/core/proxy-utils/producers/shadowrocket.js b/backend/src/core/proxy-utils/producers/shadowrocket.js index 25e4f26..24d7a41 100644 --- a/backend/src/core/proxy-utils/producers/shadowrocket.js +++ b/backend/src/core/proxy-utils/producers/shadowrocket.js @@ -8,6 +8,8 @@ export default function ShadowRocket_Producer() { if (opts['include-unsupported-proxy']) return true; if (proxy.type === 'snell' && String(proxy.version) === '4') { return false; + } else if (['mieru'].includes(proxy.type)) { + return false; } return true; })