Skip to content

Commit bf3832a

Browse files
committed
feat: 协议过滤支持 MASQUE
1 parent 88a03c1 commit bf3832a

4 files changed

Lines changed: 11 additions & 4 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,5 @@ backend/dist/*
136136
backend/sub-store.min.js
137137

138138
CHANGELOG.md
139+
140+
.codeartsdoer

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.21.20",
3+
"version": "2.21.21",
44
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.",
55
"main": "src/main.js",
66
"scripts": {

backend/src/core/proxy-utils/parsers/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1268,6 +1268,7 @@ function Clash_All() {
12681268
'naive',
12691269
'anytls',
12701270
'mieru',
1271+
'masque',
12711272
'sudoku',
12721273
'juicity',
12731274
'ss',

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@ export default function Shadowrocket_Producer() {
1010
if (proxy.type === 'snell' && proxy.version >= 4) {
1111
return false;
1212
} else if (
13-
['trust-tunnel', 'mieru', 'sudoku', 'naive'].includes(
14-
proxy.type,
15-
)
13+
[
14+
'trust-tunnel',
15+
'mieru',
16+
'sudoku',
17+
'naive',
18+
'masque',
19+
].includes(proxy.type)
1620
) {
1721
return false;
1822
} else if (

0 commit comments

Comments
 (0)