Added 1.21.5 and 6

This commit is contained in:
2026-04-04 20:21:13 +02:00
parent 9535b920fa
commit 5de1c74d83
4 changed files with 21 additions and 12 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import TopBar from "./components/layout/TopBar";
import PlaySection from "./components/PlaySection";
import ModsSection from "./components/ModsSection";
import SettingsSection from "./components/SettingsSection";
import { versions } from "./lib/saturn";
import { versions } from "./lib/launcher";
import { GameVersion } from "./lib/types";
import { MinecraftAccount } from "./lib/auth";
+1 -1
View File
@@ -13,12 +13,12 @@ import {
discoverMods,
toggleMod,
installMod,
versions,
} from "@/lib/saturn";
import { clsx, type ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";
import { motion, AnimatePresence } from "framer-motion";
import { GameVersion, Mod } from "@/lib/types";
import { versions } from "@/lib/launcher";
function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
+18
View File
@@ -2,6 +2,24 @@ import { invoke } from "@tauri-apps/api/core";
import { GameVersion } from "./types";
import { MinecraftAccount } from "./auth";
export const versions: GameVersion[] = [
{
id: "1.21.4",
name: "Fabric 1.21.4",
loader_version: "0.18.6",
},
{
id: "1.21.5",
name: "Fabric 1.21.5",
loader_version: "0.18.6",
},
{
id: "1.21.6",
name: "Fabric 1.21.6",
loader_version: "0.18.6",
},
];
/**
* Launch the game with the selected account and version
*/
+1 -10
View File
@@ -1,14 +1,5 @@
import { invoke } from "@tauri-apps/api/core";
import { GameVersion, LauncherSettings, Mod } from "./types";
// --- Versions ---
export const versions: GameVersion[] = [
{
id: "1.21.4",
name: "Fabric 1.21.4",
loader_version: "0.18.6",
},
];
import { LauncherSettings, Mod } from "./types";
// --- Mods ---
export async function getInstalledMods(versionId: string): Promise<Mod[]> {