mirror of
https://github.com/sub-store-org/Sub-Store.git
synced 2026-11-27 23:13:43 +00:00
chore: 要转换 extra 里的 downloadSettings 到 mihomo 格式过于复杂, 不予支持
This commit is contained in:
2 files changed
+6
-1
No files matched your search
@@ -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": {
|
||||
|
||||
@@ -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'],
|
||||
|
||||
Reference in new issue
Block a user