feat(pages): 添加资源、实例页临时占位页面,更新版本至1.2.5

移除原有商城和图库页面的导入,替换对应路由为临时占位组件
This commit is contained in:
2026-08-31 03:17:26 +08:00
parent b3da357d57
commit 53c042caa0
4 changed files with 26 additions and 6 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "koring-launcher",
"private": true,
"version": "1.2.1",
"version": "1.2.5",
"description": "Koring Launcher - Minecraft launcher built with Electron + React",
"author": "Shenzhen Lingke Network Technology Co., Ltd.",
"license": "LL-1.0",
+3 -4
View File
@@ -10,13 +10,12 @@ import { useAuthStore } from "./stores/authStore";
import { useKoringAuthStore } from "./stores/koringAuthStore";
import type { AppConfig } from "./api/config";
import { Home } from "./pages/home";
import { Store } from "./pages/store";
import { Today } from "./pages/today";
import { PlayLink } from "./pages/play-link";
import { Setting } from "./pages/setting";
import { SettingLogin } from "./pages/setting/login";
import { Gallery } from "./pages/gallery";
import { TaskQueue } from "./pages/task-queue";
import { GalleryPlaceholder, StorePlaceholder } from "./pages/placeholder";
import { UpdatePage } from "./pages/update";
import { Debug } from "./pages/debug";
import { SplashDebug } from "./pages/debug/splash-debug";
@@ -44,12 +43,12 @@ import { VERSION } from "./lib/version";
const pageMap = {
home: Home,
store: Store,
store: StorePlaceholder,
today: Today,
"play-link": PlayLink,
setting: Setting,
"setting/login": SettingLogin,
gallery: Gallery,
gallery: GalleryPlaceholder,
"task-queue": TaskQueue,
update: UpdatePage,
oobe: Oobe,
+21
View File
@@ -0,0 +1,21 @@
import { UnderConstruction } from "@/components/UnderConstruction";
/** 实例页占位(与资讯页相同的占位组件,临时使用) */
export function GalleryPlaceholder() {
return (
<UnderConstruction
pageName="实例"
description="管理您的游戏实例、版本与存档"
/>
);
}
/** 资源页占位(与资讯页相同的占位组件,临时使用) */
export function StorePlaceholder() {
return (
<UnderConstruction
pageName="资源"
description="Minecraft 游戏版本、MOD 与整合包下载"
/>
);
}