mirror of
https://github.com/xvzc/SpoofDPI.git
synced 2025-01-03 04:50:11 +00:00
fix version module
This commit is contained in:
parent
6c66b2857c
commit
11fa22c7da
@ -17,7 +17,7 @@ func main() {
|
|||||||
util.ParseArgs()
|
util.ParseArgs()
|
||||||
config := util.GetConfig()
|
config := util.GetConfig()
|
||||||
if *config.Version {
|
if *config.Version {
|
||||||
PrintVersion()
|
version.PrintVersion()
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ package version
|
|||||||
|
|
||||||
import _ "embed"
|
import _ "embed"
|
||||||
|
|
||||||
//go:embed .version
|
//go:embed VERSION
|
||||||
var VERSION string
|
var VERSION string
|
||||||
|
|
||||||
func PrintVersion() {
|
func PrintVersion() {
|
Loading…
Reference in New Issue
Block a user