This commit is contained in:
Евгений Храмов 2023-05-14 17:05:34 +03:00
parent 67b1ca0e6a
commit 7fa6a76518

@ -475,7 +475,7 @@ def modextract(id_mod, id_game_workshop):
name, ext = os.path.splitext(file)
if ext == ".z":
src = os.path.join(curdir, file)
dst = os.path.join(dir_extract, name)
dst = os.path.join(dir_extract, subdirs, name)
uncompressed = os.path.join(curdir, file + ".uncompressed_size")
unpack(src, dst)
print("[+] Extracted " + file)