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
-2
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 $?