diff --git a/main.go b/main.go index 3e72d80..f2f00e2 100644 --- a/main.go +++ b/main.go @@ -18,6 +18,9 @@ func main() { if outOfDate { fmt.Println("There is a new version of epochcli, you must update before running") + fmt.Println("Press any key to exit...") + var c rune + fmt.Scanf("%c", &c) os.Exit(1) } diff --git a/version.go b/version.go index 7e8f26b..11193ef 100644 --- a/version.go +++ b/version.go @@ -7,7 +7,7 @@ import ( "regexp" ) -const version = "1.0.9" +const version = "1.0.10" const versionUrl = "https://git.burkey.co/eburk/epochcli/raw/branch/master/version.go" func needUpdate() (bool, error) {