Merge from remote branch

This commit is contained in:
yaling888
2021-10-28 12:30:02 +08:00
4 changed files with 8 additions and 2 deletions

View File

@ -14,6 +14,8 @@ import (
"github.com/Dreamacro/clash/hub"
"github.com/Dreamacro/clash/hub/executor"
"github.com/Dreamacro/clash/log"
"go.uber.org/automaxprocs/maxprocs"
)
var (
@ -44,6 +46,7 @@ func init() {
}
func main() {
maxprocs.Set(maxprocs.Logger(func(string, ...interface{}) {}))
if version {
fmt.Printf("Clash Plus Pro %s %s %s with %s %s\n", C.Version, runtime.GOOS, runtime.GOARCH, runtime.Version(), C.BuildTime)
return