Refactored

This commit is contained in:
2026-04-04 17:11:55 +02:00
parent 7739038f88
commit 0f0e3a1c5d
8 changed files with 140 additions and 114 deletions
+6 -8
View File
@@ -2,14 +2,12 @@ import { invoke } from "@tauri-apps/api/core";
import { GameVersion, LauncherSettings, Mod } from "./types";
// --- Versions ---
export async function getVersions(): Promise<GameVersion[]> {
return [
{
id: "1.21.4",
name: "Fabric 1.21.4",
},
];
}
export const versions: GameVersion[] = [
{
id: "1.21.4",
name: "Fabric 1.21.4",
},
];
// --- Mods ---
export async function getInstalledMods(versionId: string): Promise<Mod[]> {