diff --git a/cmd/update.go b/cmd/update.go index 19034b8b8..83722f61c 100644 --- a/cmd/update.go +++ b/cmd/update.go @@ -148,7 +148,8 @@ func runUpdate(ctx *cli.Context) { log.Error("Update", "Fail to generate bat file") log.Fatal("", err.Error()) } - f.WriteString(fmt.Sprintf(`ping -n 1 127.0.0.1>nul\ncopy "%v" "%v"\ndel "%v"\ndel "%v"`, + //f.WriteString("@echo off\r\n") + f.WriteString(fmt.Sprintf("ping -n 1 127.0.0.1>nul\r\ncopy \"%v\" \"%v\"\r\ndel \"%v\"\r\ndel \"%v\"\r\n", tmpBinPath, movePath, tmpBinPath, batPath)) f.Close() diff --git a/gopm.go b/gopm.go index e981408b5..6d00b2189 100644 --- a/gopm.go +++ b/gopm.go @@ -29,7 +29,7 @@ import ( // Test that go1.1 tag above is included in builds. main.go refers to this definition. const go11tag = true -const APP_VER = "0.6.2.0113" +const APP_VER = "0.6.2.0102" // //cmd.CmdSearch, // cmdClean,