1
This commit is contained in:
parent
eb5a0017ba
commit
a0d5b7f7df
2
hlna.py
2
hlna.py
@ -478,7 +478,7 @@ def modextract(id_mod, id_game_workshop):
|
|||||||
except (UnpackException, SignatureUnpackException, CorruptUnpackException) as e:
|
except (UnpackException, SignatureUnpackException, CorruptUnpackException) as e:
|
||||||
print("[x] Unpacking .z files failed, aborting mod install")
|
print("[x] Unpacking .z files failed, aborting mod install")
|
||||||
return False
|
return False
|
||||||
|
os.system(f"rm -rf {dir_ark_mods}")
|
||||||
os.system(f"mv -f {dir_steam_workshop} {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')
|
modname = subprocess.check_output(['curl', '-s', 'https://steamcommunity.com/sharedfiles/filedetails/?id={}'.format(id_mod)]).decode('utf-8')
|
||||||
|
Loading…
Reference in New Issue
Block a user