Added 1.21.5 and 6
This commit is contained in:
+1
-1
@@ -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";
|
||||
|
||||
|
||||
@@ -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));
|
||||
|
||||
@@ -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
@@ -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[]> {
|
||||
|
||||
Reference in New Issue
Block a user