diff --git a/.gitignore b/.gitignore index 8e40994..ed5cdfa 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ go.work.sum reseed-config.json biorand-seeds/ .vscode/launch.json +build/ \ No newline at end of file diff --git a/main.go b/main.go index a506076..edea9d1 100644 --- a/main.go +++ b/main.go @@ -270,7 +270,14 @@ func unzipArchiveToDestination(zipFile string, dest string) error { return nil } +func waitForKeyPress() { + fmt.Println("Press any key to continue...") + bufio.NewReader(os.Stdin).ReadBytes('\n') +} + func main() { + defer waitForKeyPress() + fmt.Println("Generating new seed...") config, err := getConfiguration()