Code cleanup and improvements.

This commit is contained in:
2026-09-03 21:52:06 +02:00
parent ea323e3ab0
commit ecdea827ac
20 changed files with 312 additions and 213 deletions

View File

@@ -2,7 +2,7 @@
from __future__ import annotations
from dataclasses import asdict, dataclass
from dataclasses import dataclass
from datetime import datetime
import hashlib
import json
@@ -266,10 +266,6 @@ def launch_official_updater(
)
def patch_result_dict(result: LauncherPatchResult) -> dict[str, object]:
return asdict(result)
def _sha256(path: Path) -> str:
digest = hashlib.sha256()
with path.open("rb") as handle: