1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-17 23:06:30 -05:00

install v2ray on state 1 and 4

This commit is contained in:
Darien Raymond 2018-04-12 22:41:15 +02:00
parent 0e1d2a924b
commit e4b24984c4
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -399,8 +399,6 @@ main(){
return
elif [[ $RETVAL == 3 ]]; then
return 3
elif [[ $RETVAL == 1 ]]; then
colorEcho ${GREEN} "Found new version ${NEW_VER} for V2Ray.(Current version:$CUR_VER)"
else
colorEcho ${BLUE} "Installing V2Ray ${NEW_VER} on ${ARCH}"
downloadV2Ray || return $?