feat(process): better process management, including running state

This commit is contained in:
DecDuck
2024-12-26 17:19:19 +11:00
parent ad92dbec08
commit a135b1321c
9 changed files with 186 additions and 73 deletions

View File

@ -20,7 +20,7 @@
<div class="h-full flex flex-row gap-x-4 items-stretch">
<GameStatusButton
@install="() => installFlow()"
@play="() => play()"
@launch="() => launch()"
@queue="() => queue()"
@uninstall="() => uninstall()"
:status="status"
@ -390,7 +390,7 @@ async function install() {
}
}
async function play() {
async function launch() {
try {
await invoke("launch_game", { gameId: game.value.id });
} catch (e) {