|
|
@ -92,7 +92,7 @@ sysArch(){ |
|
|
|
downloadV2Ray(){ |
|
|
|
downloadV2Ray(){ |
|
|
|
rm -rf /tmp/v2ray |
|
|
|
rm -rf /tmp/v2ray |
|
|
|
mkdir -p /tmp/v2ray |
|
|
|
mkdir -p /tmp/v2ray |
|
|
|
colorEcho ${BLUE} "Donwloading V2Ray." |
|
|
|
colorEcho ${BLUE} "Downloading V2Ray." |
|
|
|
DOWNLOAD_LINK="https://github.com/v2ray/v2ray-core/releases/download/${NEW_VER}/v2ray-linux-${VDIS}.zip" |
|
|
|
DOWNLOAD_LINK="https://github.com/v2ray/v2ray-core/releases/download/${NEW_VER}/v2ray-linux-${VDIS}.zip" |
|
|
|
curl ${PROXY} -L -H "Cache-Control: no-cache" -o ${ZIPFILE} ${DOWNLOAD_LINK} |
|
|
|
curl ${PROXY} -L -H "Cache-Control: no-cache" -o ${ZIPFILE} ${DOWNLOAD_LINK} |
|
|
|
if [ $? != 0 ];then |
|
|
|
if [ $? != 0 ];then |
|
|
|