From 1e5ea97e86f9a53a03a6a0c942590904c63247a5 Mon Sep 17 00:00:00 2001 From: neoapps-dev Date: Thu, 9 Apr 2026 23:57:09 +0300 Subject: [PATCH] feat: rebrand Legacy Evolved into neoLegacy --- src/components/views/WorkshopView.tsx | 6 +++--- src/hooks/useGameManager.ts | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/views/WorkshopView.tsx b/src/components/views/WorkshopView.tsx index 8aa0cf5..c9fe7d2 100644 --- a/src/components/views/WorkshopView.tsx +++ b/src/components/views/WorkshopView.tsx @@ -211,9 +211,9 @@ const WorkshopView = memo(function WorkshopView() {
diff --git a/src/hooks/useGameManager.ts b/src/hooks/useGameManager.ts index a11dfe4..44763d5 100644 --- a/src/hooks/useGameManager.ts +++ b/src/hooks/useGameManager.ts @@ -1,11 +1,11 @@ import { useState, useEffect, useCallback, useMemo } from "react"; import { TauriService } from "../services/TauriService"; - +import { getCurrentWindow } from "@tauri-apps/api/window"; const BASE_EDITIONS = [ { id: "legacy_evolved", //neo: yes. we're not changing the ID. that will break user data. name: "neoLegacy", - desc: "Backporting newer title updates back to LCE", + desc: "Backporting newer title updates and Minigames back to LCE", url: "https://codeberg.org/piebot/LegacyEvolved/releases/download/nightly/LCEWindows64.zip", titleImage: "/images/minecraft_title_neoLegacy.png", supportsSlimSkins: true, @@ -164,6 +164,7 @@ export function useGameManager({ setError(null); setIsGameRunning(true); try { + getCurrentWindow().minimize(); await TauriService.launchGame(profile, PARTNERSHIP_SERVERS); } catch (e: any) { console.error(e);