From 129976467d45aaa9269e1a90dad224ed4f9155f3 Mon Sep 17 00:00:00 2001 From: xream Date: Tue, 31 Mar 2026 10:22:05 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=A6=81=E8=BD=AC=E6=8D=A2=20extra=20?= =?UTF-8?q?=E9=87=8C=E7=9A=84=20downloadSettings=20=E5=88=B0=20mihomo=20?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E8=BF=87=E4=BA=8E=E5=A4=8D=E6=9D=82,=20?= =?UTF-8?q?=E4=B8=8D=E4=BA=88=E6=94=AF=E6=8C=81?= 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 | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/backend/package.json b/backend/package.json index 7a58fc5b..46aa90c2 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.21.66", + "version": "2.21.67", "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 7b1655ee..697066d6 100644 --- a/backend/src/core/proxy-utils/parsers/index.js +++ b/backend/src/core/proxy-utils/parsers/index.js @@ -844,6 +844,11 @@ function URI_VLESS() { `Failed to parse extra field as JSON: ${proxy._extra}`, ); } + if (extra.downloadSettings) { + $.error( + 'It is too complex to convert the downloadSettings in extra into the Mihomo format, so it is not supported.', + ); + } proxy[`${proxy.network}-opts`] = { 'no-grpc-header': extra['noGRPCHeader'], 'x-padding-bytes': extra['xPaddingBytes'],