1
This commit is contained in:
parent
8e57135ccf
commit
e9c34f6419
2
hlna.py
2
hlna.py
@ -479,7 +479,7 @@ def modextract(id_mod, id_game_workshop):
|
||||
print("[x] Unpacking .z files failed, aborting mod install")
|
||||
return False
|
||||
|
||||
os.system(f"mv {dir_steam_workshop} {dir_mods_ark}")
|
||||
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 = re.search(r'<div class="workshopItemTitle">(.+)</div>', modname)
|
||||
|
Loading…
Reference in New Issue
Block a user