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