feat(脚本): 修改脚本更新后启动方式规避报错问题

pull/534/merge
mack-a 2021-01-22 15:02:21 +08:00
parent 5bca90e05e
commit c87f1892f8
1 changed files with 3 additions and 2 deletions

View File

@ -2553,7 +2553,8 @@ removeUser() {
# 更新脚本
updateV2RayAgent() {
echoContent skyBlue "\n进度 $1/${totalProgress} : 更新v2ray-agent脚本"
wget -P /etc/v2ray-agent/ -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /etc/v2ray-agent/install.sh && /bin/bash /etc/v2ray-agent/install.sh
wget -P /etc/v2ray-agent/ -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /etc/v2ray-agent/install.sh
echoContent skyBlue " ---> 更新完毕,请手动执行[vasma]打开脚本\n"
}
# 安装BBR
@ -3085,7 +3086,7 @@ menu() {
cd "$HOME" || exit
echoContent red "\n=============================================================="
echoContent green "作者mack-a"
echoContent green "当前版本v2.3.6"
echoContent green "当前版本v2.3.7"
echoContent green "Githubhttps://github.com/mack-a/v2ray-agent"
echoContent green "描述:七合一共存脚本"
echoContent red "=============================================================="