feat: 下载中心对接 GitHub Releases 并适配 latest.yml

- 新增 /download 下载页:正式版/预览版双渠道、latest.yml/latest-beta.yml 数据源、镜像下载源切换、SHA512 校验展示
- 新增 /api/download-version:GitHub API 自动识别 + 镜像兜底 + yml 解析 + 旧源兜底
- /launcher/join-beta 改为自动识别 GitHub 预览版,支持镜像下载源切换
- 新增 markdown-lite 轻量渲染器、lib/download-sources 与 lib/github-releases 共享模块
- 头部导航新增下载中心入口
This commit is contained in:
2026-08-31 12:01:41 +08:00
parent 5193b1c156
commit dcae468055
8 changed files with 1198 additions and 30 deletions
+1
View File
@@ -13,6 +13,7 @@ const navItems = [
textColor: "#fff",
links: [
{ label: "Koring Launcher", href: "/launcher", ariaLabel: "Koring Launcher" },
{ label: "下载中心", href: "/download", ariaLabel: "下载中心" },
{ label: "Sanshe Play", href: "https://docs.play.lenjing.work", ariaLabel: "Sanshe Play" },
],
},