summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-11-06 21:44:15 +0100
committerKevin Chabowski <kevin@kch42.de>2013-11-06 21:44:15 +0100
commit8150778cbdf2e2f72d300a548c669b07b6e98d0c (patch)
tree67c1e9487fc0e4d8d52bcd683a3d27047cdb4a8a
parent66590268abc84e2688b06d3fac27912d4a7b95da (diff)
downloadbiomed-8150778cbdf2e2f72d300a548c669b07b6e98d0c.tar.gz
biomed-8150778cbdf2e2f72d300a548c669b07b6e98d0c.tar.bz2
biomed-8150778cbdf2e2f72d300a548c669b07b6e98d0c.zip
Fixed savesDir for windows
-rw-r--r--listmaps.go2
1 files changed, 1 insertions, 1 deletions
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
}