mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-13 18:36:02 +08:00
feat: VLESS 兼容 Shadowrocket 传输层 none
This commit is contained in:
parent
2fbc589a8a
commit
543641de9d
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sub-store",
|
"name": "sub-store",
|
||||||
"version": "2.19.6",
|
"version": "2.19.7",
|
||||||
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.",
|
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.",
|
||||||
"main": "src/main.js",
|
"main": "src/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -634,6 +634,9 @@ function URI_VLESS() {
|
|||||||
}
|
}
|
||||||
if (!proxy.network && isShadowrocket && params.obfs) {
|
if (!proxy.network && isShadowrocket && params.obfs) {
|
||||||
proxy.network = params.obfs;
|
proxy.network = params.obfs;
|
||||||
|
if (['none'].includes(proxy.network)) {
|
||||||
|
proxy.network = 'tcp';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (['websocket'].includes(proxy.network)) {
|
if (['websocket'].includes(proxy.network)) {
|
||||||
proxy.network = 'ws';
|
proxy.network = 'ws';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user