mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 14:54:01 +03:00
Fixes for obfuscated2
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/9seconds/mtg/v2/cli"
|
||||
"github.com/9seconds/mtg/v2/utils"
|
||||
"github.com/alecthomas/kong"
|
||||
)
|
||||
|
||||
@@ -13,6 +14,10 @@ var version = "dev" // has to be set by ldflags
|
||||
func main() {
|
||||
rand.Seed(time.Now().UTC().UnixNano())
|
||||
|
||||
if err := utils.SetLimits(); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
cli := &cli.CLI{}
|
||||
ctx := kong.Parse(cli, kong.Vars{
|
||||
"version": version,
|
||||
|
||||
Reference in New Issue
Block a user