From c1a9436aa1f403d1a378f349371a1182d04d885c Mon Sep 17 00:00:00 2001 From: David Vierra Date: Mon, 6 Sep 2010 15:49:18 -1000 Subject: [PATCH] better save locations for non-windows platforms --- mclevel.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mclevel.py b/mclevel.py index 9db5100..7e3de2a 100644 --- a/mclevel.py +++ b/mclevel.py @@ -135,11 +135,11 @@ FaceZIncreasing = 4 FaceZDecreasing = 5 MaxDirections = 6 -saveFileDirs = {#xxxx platform +saveFileDirs = { 'win32':os.path.expandvars("%APPDATA%\\.minecraft\\saves"), - 'darwin':os.path.expanduser("~/Library/Application Support/Minecraft"), + 'darwin':os.path.expanduser("~/Library/Application Support/minecraft/saves"), } -saveFileDir = saveFileDirs.get(sys.platform, os.path.expanduser("~/.minecraft")); #default to Linux save location +saveFileDir = saveFileDirs.get(sys.platform, os.path.expanduser("~/.minecraft/saves")); #default to Linux save location """ Indev levels: