Skip to content

Commit

Permalink
Merge pull request #64 from OpenGOAL-Mods/cleanup-73-jak1
Browse files Browse the repository at this point in the history
fix jak 1 yakows
  • Loading branch information
Zedb0T committed May 12, 2024
2 parents b0f67e2 + 48c6412 commit 194f388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/launcherUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ def rebuild(URL, MOD_ID, MOD_NAME, LINK_TYPE, GAME, should_extract):

# cleanup and remove a corrupted iso
# jak3 jak 3 3 jak
if os.path.exists(UniversalIsoPath + "/" + GAME) and os.path.isdir(UniversalIsoPath) and not (exists((UniversalIsoPath + "/" + GAME + "/" + "Z6TAIL.DUP"))) or (exists((UniversalIsoPath + "/" + GAME + "/" + "ZZTAIL.DAT"))) :
if GAME != "jak3" and os.path.exists(UniversalIsoPath + "/" + GAME) and os.path.isdir(UniversalIsoPath) and not (exists((UniversalIsoPath + "/" + GAME + "/" + "Z6TAIL.DUP"))) or (exists((UniversalIsoPath + "/" + GAME + "/" + "ZZTAIL.DAT"))) :
print("Removing corrupted iso destination...")
shutil.rmtree(UniversalIsoPath + "/" + GAME)
ensure_jak_folders_exist()
Expand Down

0 comments on commit 194f388

Please sign in to comment.