From f7e5362e86d216a5db660777591de676b99d5bb1 Mon Sep 17 00:00:00 2001 From: tretrauit Date: Sun, 27 Feb 2022 13:32:18 +0700 Subject: [PATCH] Fix blocking telemetry fail. Bump to 1.2.9-1 --- setup.py | 2 +- worthless/patcher.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 03f3a84..b061b9d 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ README = (HERE / "README.md").read_text() setup( name='worthless', - version='1.2.9', + version='1.2.9-1', packages=['worthless', 'worthless.classes', 'worthless.classes.launcher', 'worthless.classes.installer'], url='https://git.froggi.es/tretrauit/worthless-launcher', license='MIT License', diff --git a/worthless/patcher.py b/worthless/patcher.py index 113d63d..1e31dfa 100644 --- a/worthless/patcher.py +++ b/worthless/patcher.py @@ -133,13 +133,13 @@ class Patcher: telemetry_hosts += "0.0.0.0 " + url + "\n" match platform.system(): case "Linux": - await self._linuxutils.append_text_to_file(telemetry_hosts) + await self._linuxutils.append_text_to_file(telemetry_hosts, "/etc/hosts") return # TODO: Windows and macOS raise NotImplementedError("Platform not implemented.") async def _patch_unityplayer_fallback(self): - # xdelta3-python doesn't work becuase it's outdated. + # xdelta3-python doesn't work because it's outdated. if self._overseas: patch = "unityplayer_patch_os.vcdiff" else: