From 45006ef4b501db6162a4489973f5ad1ad8383f0f Mon Sep 17 00:00:00 2001 From: tretrauit Date: Thu, 25 May 2023 10:28:17 +0700 Subject: [PATCH] fix: telemetry.dll rename --- worthless/patcher.py | 6 ++++++ 1 file changed, 6 insertions(+) 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)