Name profile's folder .minecraft for compatibility
This commit is contained in:
parent
27191d1110
commit
ae4d6a2035
@ -386,7 +386,7 @@ def main():
|
|||||||
|
|
||||||
if lv["profileFolder"] == "1":
|
if lv["profileFolder"] == "1":
|
||||||
profilePath = p(lv["gamePath"],"profiles")
|
profilePath = p(lv["gamePath"],"profiles")
|
||||||
launcherVariables["game_directory"] = p(profilePath,lv["name"],lv["version"])
|
launcherVariables["game_directory"] = p(profilePath,lv["name"],lv["version"],".minecraft")
|
||||||
if not os.path.isdir(launcherVariables["game_directory"]): os.makedirs(launcherVariables["game_directory"])
|
if not os.path.isdir(launcherVariables["game_directory"]): os.makedirs(launcherVariables["game_directory"])
|
||||||
os.chdir(launcherVariables["game_directory"])
|
os.chdir(launcherVariables["game_directory"])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user