fix: telemetry.dll rename
This commit is contained in:
parent
5a6f8e39af
commit
45006ef4b5
@ -244,6 +244,12 @@ class Patcher:
|
|||||||
if file_path.exists():
|
if file_path.exists():
|
||||||
await AsyncPath(file_path).rename(str(file_path) + ".bak")
|
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())
|
patch_jobs.append(disable_crashreporters())
|
||||||
await asyncio.gather(*patch_jobs)
|
await asyncio.gather(*patch_jobs)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user