Security improvements to locking down play button and make sure one process only runs at once.

This commit is contained in:
2026-08-28 20:16:34 +02:00
parent 30a08c787c
commit 614d5d96c9
2 changed files with 188 additions and 25 deletions

View File

@@ -24,7 +24,7 @@ def launcher_operation_lock(lock_path: Path, operation: str) -> Iterator[None]:
handle.seek(0)
owner = handle.read().strip() or "unknown operation"
raise OperationBusyError(
f"launcher files are busy ({owner}); close the updater and try again"
f"launcher files are busy ({owner}); wait for it to finish and try again"
) from exc
handle.seek(0)
handle.truncate()