From 74472a0221d9e3a4389c44fa5c7076e6f2fe56f1 Mon Sep 17 00:00:00 2001 From: txthinking Date: Mon, 28 Feb 2022 15:23:44 +0800 Subject: [PATCH] 4 --- main.go | 2 +- nami.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 8f29809..bffacd4 100644 --- a/main.go +++ b/main.go @@ -25,7 +25,7 @@ import ( func main() { app := cli.NewApp() app.Name = "nami" - app.Version = "20220401" + app.Version = "20220404" app.Usage = "The easy way to download command from anywhere" app.Authors = []*cli.Author{ { diff --git a/nami.go b/nami.go index b989b33..b32c234 100644 --- a/nami.go +++ b/nami.go @@ -128,7 +128,7 @@ func (n *Nami) Install(name string) (func(), error) { if runtime.GOOS == "windows" { deno = filepath.Join(n.BinDir, "deno.exe") } - cmd := exec.Command(deno, "run", "-r", "-A", s+name+".js") + cmd := exec.Command(deno, "run", "-r", "-A", "--unstable", s+name+".js") cmd.Env = append(os.Environ(), "DENO_DIR="+n.DenoDir, )