From 7b5afb8dd819e570f1a6ae2e255b13dcb721e217 Mon Sep 17 00:00:00 2001 From: llama Date: Mon, 20 Oct 2025 10:04:38 +0800 Subject: [PATCH] add uninstall button --- qt/launcher-gui/src/routes/Action.svelte | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/qt/launcher-gui/src/routes/Action.svelte b/qt/launcher-gui/src/routes/Action.svelte index 9ad44f311..e939e5985 100644 --- a/qt/launcher-gui/src/routes/Action.svelte +++ b/qt/launcher-gui/src/routes/Action.svelte @@ -13,11 +13,13 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html existing, allowBetas, choose, + uninstall, }: { releases: Versions; existing: ExistingVersions; allowBetas: boolean; choose: (version: string, existing: boolean, current?: string) => void; + uninstall: (() => void) | null; } = $props(); let availableVersions = $derived( @@ -77,6 +79,13 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html + {#if uninstall != null} + + + + {/if}