mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-13 10:18:51 +01:00
Merge pull request #158 from cuu/master
auto create GameDir in CommercialSoftwarePackage
This commit is contained in:
commit
d93e514e78
@ -252,6 +252,8 @@ class MyCommercialSoftwarePackage(object):
|
|||||||
|
|
||||||
if FileExists(json_config["GameDir"]):
|
if FileExists(json_config["GameDir"]):
|
||||||
os.chdir(json_config["GameDir"])
|
os.chdir(json_config["GameDir"])
|
||||||
|
else:
|
||||||
|
os.system( "mkdir %s" % json_config["GameDir"] )
|
||||||
|
|
||||||
if "MD5" in json_config:
|
if "MD5" in json_config:
|
||||||
for i,v in enumerate(json_config["MD5"]):
|
for i,v in enumerate(json_config["MD5"]):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user