Skip to content

Commit 7180471

Browse files
committed
feat: Shadowrocket 支持 Snell 4/5
1 parent 84bb577 commit 7180471

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sub-store",
3-
"version": "2.24.2",
3+
"version": "2.24.3",
44
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.",
55
"main": "src/main.js",
66
"packageManager": "pnpm@11.0.9",

backend/src/core/proxy-utils/producers/shadowrocket.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ export default function Shadowrocket_Producer() {
2828
])
2929
) {
3030
return false;
31-
} else if (proxy.type === 'snell' && proxy.version >= 4) {
31+
} else if (
32+
proxy.type === 'snell' &&
33+
![1, 2, 3, 4, 5].includes(proxy.version)
34+
) {
3235
return false;
3336
} else if (
3437
[

0 commit comments

Comments
 (0)