diff --git a/worthless/cli.py b/worthless/cli.py old mode 100755 new mode 100644 diff --git a/worthless/installer.py b/worthless/installer.py index d0f0bd1..05ab256 100644 --- a/worthless/installer.py +++ b/worthless/installer.py @@ -397,7 +397,10 @@ class Installer: print("Failed to patch {}, reverting and let the in-game updater do the job...".format( old_file.with_suffix(old_suffix)) ) - old_file.rename(old_file.with_suffix(old_suffix)) + try: + old_file.rename(old_file.with_suffix(old_suffix)) + except Exception: + pass files.remove(patch_file) # Limit to 8 process running so it doesn't hang the PC.