fix(common): add 'hdiffmap.json' to ignore list
So we don't extract the file lol.
This commit is contained in:
@ -76,7 +76,7 @@ def apply_update_archive(
|
|||||||
files = archive.namelist()
|
files = archive.namelist()
|
||||||
# Don't extract these files (they're useless and if the game isn't patched then
|
# Don't extract these files (they're useless and if the game isn't patched then
|
||||||
# it'll raise 31-4xxx error in Genshin)
|
# 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:
|
try:
|
||||||
files.remove(file)
|
files.remove(file)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
|
|||||||
Reference in New Issue
Block a user