version to 0.19.1

This commit is contained in:
fatedier 2018-05-17 00:17:22 +08:00
parent 040d198e36
commit c8a7405992

View File

@ -19,7 +19,7 @@ import (
"strings" "strings"
) )
var version string = "0.19.0" var version string = "0.19.1"
func Full() string { func Full() string {
return version return version
@ -48,8 +48,8 @@ func Minor(v string) int64 {
// add every case there if server will not accept client's protocol and return false // add every case there if server will not accept client's protocol and return false
func Compat(client string) (ok bool, msg string) { func Compat(client string) (ok bool, msg string) {
if LessThan(client, "0.10.0") { if LessThan(client, "0.18.0") {
return false, "Please upgrade your frpc version to at least 0.10.0" return false, "Please upgrade your frpc version to at least 0.18.0"
} }
return true, "" return true, ""
} }