fix(common): add 'hdiffmap.json' to ignore list

So we don't extract the file lol.
This commit is contained in:
2025-01-15 15:13:56 +07:00
parent f5007b6aa5
commit fba6cecc38

View File

@ -76,7 +76,7 @@ def apply_update_archive(
files = archive.namelist()
# Don't extract these files (they're useless and if the game isn't patched then
# it'll raise 31-4xxx error in Genshin)
for file in ["deletefiles.txt", "hdifffiles.txt"]:
for file in ["deletefiles.txt", "hdifffiles.txt", "hdiffmap.json"]:
try:
files.remove(file)
except ValueError: