Cache and cpu / mem improvements for launcher when idle.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user