修复双版本间逻辑问题

逻辑优化
添加升级V2core
pull/355/head
wulabing 2019-12-30 15:23:55 +08:00
parent 3a6b830c8d
commit 2c26640c41
1 changed files with 22 additions and 13 deletions

View File

@ -779,7 +779,7 @@ menu(){
echo -e "\t V2ray 安装管理脚本 ${Red}[${shell_version}]${Font}"
echo -e "\t---authored by wulabing---"
echo -e "\thttps://github.com/wulabing\n"
echo -e "当前已安装版本:${shell_mode}"
echo -e "当前已安装版本:${shell_mode}\n"
echo -e "—————————————— 安装向导 ——————————————"""
echo -e "${Green}0.${Font} 升级 脚本"
@ -815,44 +815,53 @@ menu(){
install_v2_h2
;;
3)
bash <(curl -L -s https://install.direct/go.sh)
;;
4)
read -p "请输入UUID:" UUID
modify_UUID
start_process_systemd
;;
4)
5)
read -p "请输入alterID:" alterID
modify_alterid
start_process_systemd
;;
5)
6)
read -p "请输入连接端口:" port
if [[ -n $(grep "ws" $v2ray_qr_config_file) ]]
then
modify_nginx_port
elif [[ -n $(grep "h2" $v2ray_qr_config_file) ]]
then
modify_inbound_port
fi
start_process_systemd
;;
6)
7)
tls_modify
;;
7)
8)
show_access_log
;;
8)
9)
show_error_log
;;
9)
10)
basic_information
vmess_qr_link_image
show_information
;;
10)
11)
bbr_boost_sh
;;
11)
12)
ssl_update_manuel
;;
12)
13)
uninstall_all
;;
13)
14)
exit 0
;;
*)