mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-12-29 13:35:20 -05:00
Print release date in version command
This commit is contained in:
14
core.go
14
core.go
@@ -1,8 +1,20 @@
|
||||
// Package core provides common definitions and functionalities of V2Ray.
|
||||
package core
|
||||
|
||||
var (
|
||||
version = "0.6.2"
|
||||
build = "Custom"
|
||||
)
|
||||
|
||||
const (
|
||||
Version = "0.6"
|
||||
Codename = "Post Apocalypse"
|
||||
Intro = "A stable and unbreakable connection for everyone."
|
||||
)
|
||||
|
||||
func Version() string {
|
||||
return version
|
||||
}
|
||||
|
||||
func Build() string {
|
||||
return build
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user