Cache and cpu / mem improvements for launcher when idle.

This commit is contained in:
2026-08-28 22:53:40 +02:00
parent d20eea6877
commit 06672589ad
2 changed files with 121 additions and 39 deletions

View File

@@ -91,6 +91,12 @@ class AppPaths:
def launcher_update_lock(self) -> Path:
return self.state / "launcher-update.lock"
@property
def launcher_update_check_cache(self) -> Path:
"""Display-only cache of the last authenticated update check."""
return self.cache / "launcher-update-check.json"
def launcher_update_archive(self, version: str) -> Path:
return self.downloads / f"pristontale-eu-linux-update-v{version}.tar.gz"
@@ -118,6 +124,12 @@ class AppPaths:
def launcher_operation_lock(self) -> Path:
return self.state / "launcher-operation.lock"
@property
def game_runtime_marker(self) -> Path:
"""Verified Proton/D3D preparation state for the game prefix."""
return self.state / "game-runtime.json"
@property
def source_game(self) -> Path:
return self.launcher_prefix / GAME_RELATIVE_PATH