feat(game): game uninstalling & partial compat

This commit is contained in:
DecDuck
2024-12-26 11:59:26 +11:00
parent 9ea2aa4997
commit dd7f5675d8
26 changed files with 469 additions and 96 deletions

View File

@ -22,6 +22,7 @@
@install="() => installFlow()"
@play="() => play()"
@queue="() => queue()"
@uninstall="() => uninstall()"
:status="status"
/>
<a
@ -409,4 +410,8 @@ async function play() {
async function queue() {
router.push("/queue");
}
async function uninstall() {
await invoke("uninstall_game", {gameId: game.value.id});
}
</script>