| | |
| | | echoContent green " ---> v2ray-core版本:${version}" |
| | | |
| | | if wget --help | grep -q show-progress; then |
| | | wget -c -q --show-progress -P /etc/v2ray-agent/v2ray/ "https://github.com/v2fly/v2ray-core/releases/download/${version}/${v2rayCoreCPUVendor}.zip" |
| | | #wget -c -q --show-progress -P /etc/v2ray-agent/v2ray/ "https://github.com/v2fly/v2ray-core/releases/download/${version}/${v2rayCoreCPUVendor}.zip"
|
| | | wget -c -q --show-progress -P /etc/v2ray-agent/v2ray/ "http://www.zgleiju.com:8967/raw/Hunter/Linux/v2ray-core.git/master/releases/download/${version}/${v2rayCoreCPUVendor}.zip"
|
| | | else |
| | | wget -c -P "/etc/v2ray-agent/v2ray/ https://github.com/v2fly/v2ray-core/releases/download/${version}/${v2rayCoreCPUVendor}.zip" >/dev/null 2>&1 |
| | | #wget -c -P "/etc/v2ray-agent/v2ray/ https://github.com/v2fly/v2ray-core/releases/download/${version}/${v2rayCoreCPUVendor}.zip" >/dev/null 2>&1
|
| | | wget -c -P "/etc/v2ray-agent/v2ray/ http://www.zgleiju.com:8967/raw/Hunter/Linux/v2ray-core.git/master/releases/download/${version}/${v2rayCoreCPUVendor}.zip" >/dev/null 2>&1
|
| | | fi |
| | | |
| | | unzip -o "/etc/v2ray-agent/v2ray/${v2rayCoreCPUVendor}.zip" -d /etc/v2ray-agent/v2ray >/dev/null |