0

Merge remote-tracking branch 'counterpillow/home-fix', PR #1027

This commit is contained in:
Aaron Griffith
2013-12-01 16:27:35 -05:00

View File

@@ -217,7 +217,7 @@ class Textures(object):
# Find an installed minecraft client jar and look in it for the texture # Find an installed minecraft client jar and look in it for the texture
# file we need. # file we need.
versiondir = None versiondir = ""
if "APPDATA" in os.environ and sys.platform.startswith("win"): if "APPDATA" in os.environ and sys.platform.startswith("win"):
versiondir = os.path.join(os.environ['APPDATA'], ".minecraft", "versions") versiondir = os.path.join(os.environ['APPDATA'], ".minecraft", "versions")
elif "HOME" in os.environ: elif "HOME" in os.environ: