Skip to content

Commit

Permalink
feat(ui): finalize about page
Browse files Browse the repository at this point in the history
- Add packages & features display.
- Separate font classes from global styles.
- Add hot reload for locale resources.
- Make initial window size slightly larger.
- Enable vite warmup.
- Hoist font class to body to override tooltip fonts.
- Move sidebar to top (becomes navbar).
- Add performance logger during renderer startup.
- Disable React DevTools due to upstream issues.
- Update locale resources.
  • Loading branch information
skjsjhb committed Jan 11, 2025
1 parent 0debff5 commit fe510dd
Show file tree
Hide file tree
Showing 19 changed files with 363 additions and 448 deletions.
8 changes: 4 additions & 4 deletions build-tools.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// Runs the development build and starts frontend hot-reloading server
import esbuild, { type BuildOptions } from "esbuild";
import typiaPlugin from "@ryoppippi/unplugin-typia/esbuild";
import { TsconfigPathsPlugin } from "@esbuild-plugins/tsconfig-paths";
import typiaPlugin from "@ryoppippi/unplugin-typia/esbuild";
import consola from "consola";
import esbuild, { type BuildOptions } from "esbuild";
import fs from "fs-extra";
import * as child_process from "node:child_process";

import path from "path";
import consola from "consola";
import * as vite from "vite";
import * as child_process from "node:child_process";
import { type BuildVariant, createBuildConfig } from "~/config";
import { createBuildDefines } from "~/scripts/defines";
import { vendor } from "~/scripts/vendor";
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
"@nextui-org/use-theme": "^2.1.1",
"@primer/octicons-react": "^19.14.0",
"clsx": "^2.1.1",
"electron-devtools-installer": "^4.0.0",
"framer-motion": "^11.15.0",
"fs-extra": "^11.2.0",
"get-port": "^7.1.0",
Expand Down
99 changes: 0 additions & 99 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 41 additions & 3 deletions public/i18n/zh-CN/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,56 @@ launch:

about:
title: 关于
subtitles:
app-info: 发行信息
packages-info: 软件包列表
features-info: 功能开关
name: Alicorn 启动器
version: 版本 {{version}}
dev-note: |-
此 Alicorn 是开发中使用的调试版本。
为获得最佳性能并规避潜在的漏洞,请改用产品版本。
dev-note: 此 Alicorn 是开发版本。要获得最佳性能和质量,请改用产品版本。
copyright: |-
Copyright (C) 2021-2022 Andy K Rarity Sparklight ("ThatRarityEG")
Copyright (C) 2024-2025 Ted Gao ("skjsjhb")
Alicorn 启动器是按 GNU 公共通用许可证(第三版或后继版本)发行的自由软件。
此软件的开发是基于其将对社区有用的愿景而进行的,但不提供任何担保。
您须对使用 Alicorn 可能产生的一切影响负责。
links:
source: 查看源代码
license: 查看许可证

deps: |-
以下是构造此 Alicorn 所使用的软件包,诚挚地向它们的开发者表示谢意。
包含在产品中:
{{prodNames}}
仅在开发时使用:
{{devNames}}
features-note: 若要使用未启用的功能,请重新构建 Alicorn,并打开相应的开关。
features-how: 进一步了解
features:
bmclapi:
name: BMCLAPI 镜像加速
tip: 在可用时使用 BMCLAPI 加速下载。
local-account:
name: 本地帐户
tip: |-
允许使用未验证的离线帐户启动游戏。
这违反 EULA,所以不受支持。
aria2:
name: aria2 下载工具
tip: |-
使用随附的 aria2 进行下载。
未携带 aria2 的 Alicorn 会使用系统中安装的 aria2。
lzma-native:
name: LZMA 原生库
tip: |-
使用原生的 LZMA 库改进 LZMA 解包的效率。
性能很好,但并非所有平台都支持。
enabled: 已启用
disabled: 未启用
Loading

0 comments on commit fe510dd

Please sign in to comment.