mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-15 09:11:28 +10:00
feat(game): game uninstalling & partial compat
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user