cli/hsr: add telemetry check text

This commit is contained in:
tretrauit 2023-06-25 22:16:07 +07:00
parent af92a28d94
commit 68a598410b

View File

@ -82,8 +82,10 @@ class HSR:
if not ask("Do you still want to patch?"): if not ask("Do you still want to patch?"):
print("Patching aborted.") print("Patching aborted.")
return return
print("Checking telemetry hosts...", end=" ")
telemetry_list = self._patcher.check_telemetry() telemetry_list = self._patcher.check_telemetry()
if telemetry_list: if telemetry_list:
print("FOUND")
print("Telemetry hosts found: ") print("Telemetry hosts found: ")
for host in telemetry_list: for host in telemetry_list:
print(f" - {host}") print(f" - {host}")
@ -100,6 +102,8 @@ class HSR:
print("Cannot continue, please block them manually then try again.") print("Cannot continue, please block them manually then try again.")
return return
print("Continuing anyway...") print("Continuing anyway...")
else:
print("OK")
if not self.__update_patch(): if not self.__update_patch():
return return
match self._patcher.patch_type: match self._patcher.patch_type: