From 442bb020879215504841ef4123c83b0ab7fd7c60 Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Tue, 2 Jun 2020 10:06:33 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=AE=89=E8=A3=85=E7=A8=8B=E5=BA=8F):=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=89=E8=A3=85V2Ray?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 4c34e9f..93314d2 100644 --- a/install.sh +++ b/install.sh @@ -236,10 +236,10 @@ installV2Ray(){ if [[ -z `find /usr/bin/ -name "v2ray*"` ]] then echoContent yellow "安装V2Ray--->" - version=`curl -s https://github.com/v2ray/v2ray-core/releases|grep /v2ray/v2ray-core/releases/tag/|head -1|awk -F "[/]" '{print $6}'|awk -F "[V]" '{print $2}'|awk -F "[<]" '{print $1}'` + version=`curl -s https://github.com/v2ray/v2ray-core/releases|grep /v2ray/v2ray-core/releases/tag/|head -1|awk -F "[/]" '{print $6}'|awk -F "[>]" '{print $2}'|awk -F "[<]" '{print $1}'` mkdir -p /tmp/v2ray mkdir -p /usr/bin/v2ray/ - wget -q -P /tmp/v2ray https://github.com/v2ray/v2ray-core/releases/download/v${version}/v2ray-linux-64.zip + wget -q -P /tmp/v2ray https://github.com/v2ray/v2ray-core/releases/download/${version}/v2ray-linux-64.zip unzip /tmp/v2ray/v2ray-linux-64.zip -d /tmp/v2ray > /dev/null cp /tmp/v2ray/v2ray /usr/bin/v2ray/ cp /tmp/v2ray/v2ctl /usr/bin/v2ray/ @@ -277,7 +277,7 @@ installV2Ray(){ fi echoContent yellow "客户端链接--->" qrEncode $1 - echoContent yellow "监听V2Ray日志,如有日志出现则证明线路可用,Ctrl+c停止--->" + echoContent yellow "监听V2Ray日志,如有日志出现则证明线路可用,Ctrl+c退出监听日志--->" tail -f /tmp/v2ray/v2ray_access_ws_tls.log } # 开机自启