From 8150778cbdf2e2f72d300a548c669b07b6e98d0c Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Wed, 6 Nov 2013 21:44:15 +0100 Subject: Fixed savesDir for windows --- listmaps.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/listmaps.go b/listmaps.go index ea43890..ad8a0cc 100644 --- a/listmaps.go +++ b/listmaps.go @@ -15,7 +15,7 @@ func allMaps() map[string]string { case "darwin": savesDir = fmt.Sprintf("%s/Library/Application Support/minecraft/saves", os.Getenv("HOME")) case "windows": - savesDir = fmt.Sprintf(`%s\.minecraft`, os.Getenv("appdata")) + savesDir = fmt.Sprintf(`%s\.minecraft\saves`, os.Getenv("appdata")) default: return nil } -- cgit v1.2.3-70-g09d2