Skip to content

Commit

Permalink
remove h2
Browse files Browse the repository at this point in the history
  • Loading branch information
233boy committed Dec 20, 2024
1 parent 7fe7c25 commit 578cc26
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
- 一键更改伪装网站
Expand Down
9 changes: 5 additions & 4 deletions src/core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion xray.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

args=$@
is_sh_ver=v1.24
is_sh_ver=v1.25

. /etc/xray/sh/src/init.sh

0 comments on commit 578cc26

Please sign in to comment.