From b97b8462d9dc1e3e7d80276a480de02bb116d423 Mon Sep 17 00:00:00 2001 From: llama Date: Sat, 18 Oct 2025 10:01:38 +0800 Subject: [PATCH] remove getVersions call --- qt/launcher-gui/src/routes/+page.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/qt/launcher-gui/src/routes/+page.ts b/qt/launcher-gui/src/routes/+page.ts index 7d2ac7a88..f167f5baa 100644 --- a/qt/launcher-gui/src/routes/+page.ts +++ b/qt/launcher-gui/src/routes/+page.ts @@ -1,10 +1,9 @@ // Copyright: Ankitects Pty Ltd and contributors // License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html -import { getLangs, getMirrors, getOptions, getVersions } from "@generated/backend-launcher"; +import { getLangs, getMirrors, getOptions } from "@generated/backend-launcher"; import { ModuleName, setupI18n } from "@tslib/i18n"; import type { PageLoad } from "./$types"; -import { versionsStore } from "./stores"; export const load = (async () => { const i18nPromise = setupI18n({ modules: [ModuleName.LAUNCHER] }, true); @@ -12,10 +11,6 @@ export const load = (async () => { const optionsPromise = getOptions({}); const mirrorsPromise = getMirrors({}); - getVersions({}).then((res) => { - versionsStore.set(res); - }); - const [_, { userLocale, langs }, options, { mirrors }] = await Promise.all([ i18nPromise, langsPromise,