mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-12 17:58:50 +01:00
Merge pull request #157 from cuu/master
fix bug in CommercialSoftwarePackage
This commit is contained in:
commit
83b56b57c3
@ -249,7 +249,10 @@ class MyCommercialSoftwarePackage(object):
|
||||
return ret
|
||||
|
||||
cur_dir = os.getcwd()
|
||||
os.chdir(json_config["GameDir"])
|
||||
|
||||
if FileExists(json_config["GameDir"]):
|
||||
os.chdir(json_config["GameDir"])
|
||||
|
||||
if "MD5" in json_config:
|
||||
for i,v in enumerate(json_config["MD5"]):
|
||||
if FileExists(v):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user