update Sing and Xray core

This commit is contained in:
wyx2685
2024-01-08 00:58:21 +09:00
parent 16221d17fb
commit c4d404d979
5 changed files with 23 additions and 16 deletions

View File

@@ -2,9 +2,7 @@ package cmd
import (
"fmt"
"strings"
vCore "github.com/InazumaV/V2bX/core"
"github.com/spf13/cobra"
)
@@ -35,8 +33,8 @@ _/ _/ _/ _/ _/ _/
_/ _/_/_/_/ _/_/_/ _/ _/
`)
fmt.Printf("%s %s (%s) \n", codename, version, intro)
fmt.Printf("Supported cores: %s\n", strings.Join(vCore.RegisteredCore(), ", "))
//fmt.Printf("Supported cores: %s\n", strings.Join(vCore.RegisteredCore(), ", "))
// Warning
fmt.Println(Warn("This version need V2board version >= 1.7.0."))
fmt.Println(Warn("The version have many changed for config, please check your config file"))
//fmt.Println(Warn("This version need V2board version >= 1.7.0."))
//fmt.Println(Warn("The version have many changed for config, please check your config file"))
}