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: