Fix blocking telemetry fail.

Bump to 1.2.9-1
This commit is contained in:
tretrauit 2022-02-27 13:32:18 +07:00
parent aaf728445d
commit f7e5362e86
Signed by: tretrauit
GPG Key ID: 862760FF1903319E
2 changed files with 3 additions and 3 deletions

View File

@ -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',

View File

@ -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: