mirror of https://github.com/wulabing/Xray_onekey
parent
ea4442dda5
commit
25554fce2a
|
@ -23,7 +23,7 @@ OK="${Green}[OK]${Font}"
|
||||||
ERROR="${Red}[ERROR]${Font}"
|
ERROR="${Red}[ERROR]${Font}"
|
||||||
|
|
||||||
# 变量
|
# 变量
|
||||||
shell_version="1.0.8"
|
shell_version="1.0.9"
|
||||||
github_branch="xray"
|
github_branch="xray"
|
||||||
version_cmp="/tmp/version_cmp.tmp"
|
version_cmp="/tmp/version_cmp.tmp"
|
||||||
xray_conf_dir="/usr/local/etc/xray"
|
xray_conf_dir="/usr/local/etc/xray"
|
||||||
|
@ -525,7 +525,7 @@ menu() {
|
||||||
echo -e "${Green}32.${Font} 安装 MTproxy(支持 TLS 混淆)"
|
echo -e "${Green}32.${Font} 安装 MTproxy(支持 TLS 混淆)"
|
||||||
echo -e "${Green}33.${Font} 卸载 Xray"
|
echo -e "${Green}33.${Font} 卸载 Xray"
|
||||||
echo -e "${Green}34.${Font} 更新 Xray-core"
|
echo -e "${Green}34.${Font} 更新 Xray-core"
|
||||||
|
echo -e "${Green}40.${Font} 退出"
|
||||||
read -rp "请输入数字:" menu_num
|
read -rp "请输入数字:" menu_num
|
||||||
case $menu_num in
|
case $menu_num in
|
||||||
0)
|
0)
|
||||||
|
@ -569,6 +569,9 @@ menu() {
|
||||||
curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh | bash -s -- install
|
curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh | bash -s -- install
|
||||||
restart_all
|
restart_all
|
||||||
;;
|
;;
|
||||||
|
40)
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
print_error "请输入正确的数字"
|
print_error "请输入正确的数字"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue