1
0
mirror of https://github.com/bestnite/sub2sing-box.git synced 2026-06-08 16:04:43 +00:00

fix: version cmd

This commit is contained in:
2024-03-19 23:35:13 +08:00
committed by Nite07
parent d0bb03cd1e
commit 646c18b207
7 changed files with 8 additions and 15 deletions
-7
View File
@@ -5,13 +5,6 @@ import (
"sub2sing-box/cmd"
)
var Version string
func init() {
Version = "dev"
cmd.SetVersion(Version)
}
func main() {
if err := cmd.RootCmd.Execute(); err != nil {
fmt.Println(err)