Compare commits
No commits in common. "884236177bc2c860516c6244b7c60b24a1825ae0" and "7ed2b2e643c5b64c63fd8e838a5c40925fe7f8c1" have entirely different histories.
884236177b
...
7ed2b2e643
@ -235,7 +235,10 @@ class PatchTelemetryCommand(Command):
|
||||
+ "we need to <comment>block these hosts.</comment>"
|
||||
)
|
||||
if not self.confirm("Do you want to block them?"):
|
||||
self.line("<error>Blocking aborted.</error>")
|
||||
self.line("<error>Patching aborted.</error>")
|
||||
self.line(
|
||||
"<error>Please block these hosts manually then try again.</error>"
|
||||
)
|
||||
return
|
||||
try:
|
||||
patcher.block_telemetry(telemetry_list=telemetry_list)
|
||||
@ -243,6 +246,13 @@ class PatchTelemetryCommand(Command):
|
||||
self.line_error(
|
||||
f"<error>Couldn't block telemetry hosts: {e.__context__}</error>"
|
||||
)
|
||||
# There's a good reason for this.
|
||||
if system() != "Windows":
|
||||
self.line(
|
||||
"<error>Cannot continue, please block them manually then try again.</error>"
|
||||
)
|
||||
return
|
||||
self.line("<warn>Continuing anyway...</warn>")
|
||||
else:
|
||||
progress.finish("<comment>No telemetry hosts found.</comment>")
|
||||
|
||||
|
@ -75,8 +75,6 @@ def apply_update_archive(
|
||||
except Exception:
|
||||
# Let the game download the file.
|
||||
file.rename(file.with_suffix(""))
|
||||
else:
|
||||
file.unlink()
|
||||
else:
|
||||
# Let the game download the file.
|
||||
file.rename(file.with_suffix(""))
|
||||
|
Loading…
Reference in New Issue
Block a user