This commit is contained in:
Евгений Храмов 2023-05-14 17:44:58 +03:00
parent eb5a0017ba
commit a0d5b7f7df

@ -478,7 +478,7 @@ def modextract(id_mod, id_game_workshop):
except (UnpackException, SignatureUnpackException, CorruptUnpackException) as e:
print("[x] Unpacking .z files failed, aborting mod install")
return False
os.system(f"rm -rf {dir_ark_mods}")
os.system(f"mv -f {dir_steam_workshop} {dir_ark_mods}")
modname = subprocess.check_output(['curl', '-s', 'https://steamcommunity.com/sharedfiles/filedetails/?id={}'.format(id_mod)]).decode('utf-8')