Fix blocking telemetry fail.

Bump to 1.2.9-1
This commit is contained in:
2022-02-27 13:32:18 +07:00
parent aaf728445d
commit f7e5362e86
2 changed files with 3 additions and 3 deletions

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: