mirror of
https://github.com/clockworkpi/launcher.git
synced 2026-03-30 08:42:52 +02:00
Merge pull request #157 from cuu/master
fix bug in CommercialSoftwarePackage
This commit is contained in:
@@ -249,7 +249,10 @@ class MyCommercialSoftwarePackage(object):
|
|||||||
return ret
|
return ret
|
||||||
|
|
||||||
cur_dir = os.getcwd()
|
cur_dir = os.getcwd()
|
||||||
os.chdir(json_config["GameDir"])
|
|
||||||
|
if FileExists(json_config["GameDir"]):
|
||||||
|
os.chdir(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"]):
|
||||||
if FileExists(v):
|
if FileExists(v):
|
||||||
|
|||||||
Reference in New Issue
Block a user