diff --git a/README.md b/README.md index d7eff8d..8f6982b 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,9 @@ - 一键添加 VLESS-REALITY (默认) - 一键添加 Shadowsocks 2022 - 一键添加 VMess-(TCP/mKCP) -- 一键添加 VMess-(WS/H2/gRPC)-TLS -- 一键添加 VLESS-(WS/H2/gRPC/XHTTP)-TLS -- 一键添加 Trojan-(WS/H2/gRPC)-TLS +- 一键添加 VMess-(WS/gRPC)-TLS +- 一键添加 VLESS-(WS/gRPC/XHTTP)-TLS +- 一键添加 Trojan-(WS/gRPC)-TLS - 一键添加 VMess-(TCP/mKCP) 动态端口 - 一键启用 BBR - 一键更改伪装网站 diff --git a/src/core.sh b/src/core.sh index b82be3d..b0b8249 100644 --- a/src/core.sh +++ b/src/core.sh @@ -4,15 +4,15 @@ protocol_list=( VMess-TCP VMess-mKCP # VMess-QUIC - VMess-H2-TLS + # VMess-H2-TLS VMess-WS-TLS VMess-gRPC-TLS - VLESS-H2-TLS + # VLESS-H2-TLS VLESS-WS-TLS VLESS-gRPC-TLS VLESS-XHTTP-TLS VLESS-REALITY - Trojan-H2-TLS + # Trojan-H2-TLS Trojan-WS-TLS Trojan-gRPC-TLS Shadowsocks @@ -882,7 +882,8 @@ add() { tcp | kcp | tcpd | kcpd) is_new_protocol=VMess-$(sed 's/^K/mK/;s/D$/-dynamic-port/' <<<${is_lower^^}) ;; - ws | h2 | grpc | vws | vh2 | vgrpc | tws | th2 | tgrpc) + # ws | h2 | grpc | vws | vh2 | vgrpc | tws | th2 | tgrpc) + ws | grpc | vws | vgrpc | tws | tgrpc) is_new_protocol=$(sed -E "s/^V/VLESS-/;s/^T/Trojan-/;/^(W|H|G)/{s/^/VMess-/};s/G/g/" <<<${is_lower^^})-TLS ;; xhttp) diff --git a/xray.sh b/xray.sh index c84be87..eefb99b 100644 --- a/xray.sh +++ b/xray.sh @@ -1,6 +1,6 @@ #!/bin/bash args=$@ -is_sh_ver=v1.24 +is_sh_ver=v1.25 . /etc/xray/sh/src/init.sh \ No newline at end of file