fix(patch): unlink file if auto-repair succeed
This commit is contained in:
parent
7ed2b2e643
commit
d1bda2dc32
@ -75,6 +75,8 @@ def apply_update_archive(
|
||||
except Exception:
|
||||
# Let the game download the file.
|
||||
file.rename(file.with_suffix(""))
|
||||
else:
|
||||
file.unlink()
|
||||
else:
|
||||
# Let the game download the file.
|
||||
file.rename(file.with_suffix(""))
|
||||
|
Loading…
Reference in New Issue
Block a user