diff --git a/worthless/patcher.py b/worthless/patcher.py index 35ac0ad..23d0788 100644 --- a/worthless/patcher.py +++ b/worthless/patcher.py @@ -244,6 +244,12 @@ class Patcher: if file_path.exists(): await AsyncPath(file_path).rename(str(file_path) + ".bak") + # Delete old Telemetry.dll on Linux (cAsE sEnsItIvE) + if platform.system() == "Linux": + telemetry_path = self._installer.get_game_data_name().joinpath("Plugins/Telemetry.dll") + if telemetry_path.exists() and self._installer.get_game_data_name().joinpath("Plugins/telemetry.dll").exists(): + await telemetry_path.unlink() + patch_jobs.append(disable_crashreporters()) await asyncio.gather(*patch_jobs)