2015-09-07 06:00:46 -04:00
|
|
|
// Package core provides common definitions and functionalities of V2Ray.
|
|
|
|
package core
|
2015-09-16 10:05:59 -04:00
|
|
|
|
2015-10-13 08:30:37 -04:00
|
|
|
import (
|
|
|
|
"fmt"
|
2015-10-15 07:42:26 -04:00
|
|
|
|
2015-10-15 07:25:57 -04:00
|
|
|
"github.com/v2ray/v2ray-core/common/platform"
|
2015-09-29 05:52:34 -04:00
|
|
|
)
|
|
|
|
|
2015-10-13 08:30:37 -04:00
|
|
|
var (
|
2015-11-22 11:45:42 -05:00
|
|
|
version = "0.14"
|
2015-10-13 08:30:37 -04:00
|
|
|
build = "Custom"
|
|
|
|
codename = "Post Apocalypse"
|
|
|
|
intro = "A stable and unbreakable connection for everyone."
|
2015-09-16 10:05:59 -04:00
|
|
|
)
|
2015-09-29 05:52:34 -04:00
|
|
|
|
2015-10-13 08:30:37 -04:00
|
|
|
func PrintVersion() {
|
2015-10-15 07:25:57 -04:00
|
|
|
fmt.Printf("V2Ray %s (%s) %s%s", version, codename, build, platform.LineSeparator())
|
2015-10-16 06:05:43 -04:00
|
|
|
fmt.Printf("%s%s", intro, platform.LineSeparator())
|
2015-09-29 05:52:34 -04:00
|
|
|
}
|