fix: str -> Path
This commit is contained in:
parent
0af4c4f2df
commit
836c843b2e
@ -246,8 +246,8 @@ class Patcher:
|
||||
|
||||
# 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():
|
||||
telemetry_path = Path(self._installer.get_game_data_name()).joinpath("Plugins/Telemetry.dll")
|
||||
if telemetry_path.exists() and Path(self._installer.get_game_data_name()).joinpath("Plugins/telemetry.dll").exists():
|
||||
await telemetry_path.unlink()
|
||||
|
||||
patch_jobs.append(disable_crashreporters())
|
||||
|
Loading…
Reference in New Issue
Block a user