Commit Graph
32 Commits
Author SHA1 Message Date
dream_pep 2c33015926 fix(auto-updater): 修复 runner 通道数字尾号版本无法检测 beta 更新的问题
更新自动更新计划文档,补充说明该修复细节和 runner 通道的正确配置要求
2026-08-31 04:07:41 +08:00
dream_pep 0415799803 feat(update页面): 添加滚动自动隐藏底部操作栏的功能
为滚动容器添加 id="app-content-scroll" 以支持滚动监听
新增滚动逻辑,非繁忙状态下向下滚动时隐藏底部栏,向上滚动或回顶时恢复显示
繁忙状态(下载、暂停、安装、检查更新)下始终显示底部栏
使用 clsx 优化底部栏的条件类名并添加平滑过渡动画
2026-08-31 03:56:41 +08:00
dream_pep ec9346b087 fix(CI/文档): 同步beta版本发布标题格式
修改GitHub发布工作流与自动更新计划文档中的beta版本标题,使其均采用包含构建序号的完整版本字符串,统一展示规则。
2026-08-31 03:52:10 +08:00
dream_pep c13acd0c23 fix(updater): 修正版本标签比较逻辑以符合semver规范
重新实现版本比较函数,正确处理各类版本标签的优先级,匹配项目定义的semver比较规则。
2026-08-31 03:44:56 +08:00
dream_pep 53cde460e5 fix(updater, ci, docs): 修复版本标签解析逻辑,调整发布流程与文档
重构electron/updater.ts中的版本比较函数,支持beta.N格式的预发布版本,调整buildId比较规则符合semver规范。
更新CI发布脚本,正式版生成带构建尾号的完整版本号并调整发布标题命名。
更新自动更新文档,说明新的版本规则与跨版本升级兼容性,纠正此前的错误认知。
2026-08-31 03:39:38 +08:00
dream_pep 512e4ae3d7 fix(oobe): 修复OOBE版本步骤的路由逻辑避免死循环
更新正式版的下一步路由为oobe/finish而非agreement,防止形成agreement → legal → welcome → version → agreement的死循环;同时补充详细的前置流程注释说明步骤顺序。
2026-08-31 03:31:41 +08:00
dream_pep 403a861b89 ci(release workflow): 优化 GitHub 发布流程,新增资产存在性检查
重构资产列表和发布命令的参数处理逻辑,新增资产存在校验以避免模糊报错,修复空参数导致的 glob 匹配错误,优化 beta 版本的附加资源上传流程。
2026-08-31 03:24:08 +08:00
dream_pep 53c042caa0 feat(pages): 添加资源、实例页临时占位页面,更新版本至1.2.5
移除原有商城和图库页面的导入,替换对应路由为临时占位组件
2026-08-31 03:17:26 +08:00
dream_pep b3da357d57 feat: 新增自动更新版本引导流程及相关配置调整
- 新增完整的upvp更新引导页面套件,涵盖版本展示、版本检查、测试协议确认与完成页流程
- 新增appVersion配置字段用于记录当前应用版本,调整配置文件存储路径与旧配置迁移逻辑
- 更新路由配置与全局状态管理以支持更新引导流程
- 更新自动更新计划文档与示例配置文件
2026-08-31 03:04:23 +08:00
dream_pep fa44d41d44 feat: 优化版本卡片交互与自动更新安装逻辑
- 为自动更新安装函数添加静默安装与安装后自动重启参数
- 重构VersionCard组件,新增设置页模式,支持整卡点击跳转更新页并显示查看更新提示
- 修复更新页面主按钮的禁用逻辑,仅在检查或安装中时禁用按钮
- 更新通用设置主页与关于页的VersionCard调用参数
2026-08-31 02:46:12 +08:00
dream_pep 8fc6fcaf05 feat(update): 实现更新通道管理系统与更新调试页面
本次提交完成以下变更:
1. 实现完整的更新通道管理功能,支持慢走/跑步两种更新模式,可在设置页切换且配置持久化生效
2. 新增更新调试页面,集成检查更新、版本比对、设置测试版本等调试工具
3. 新增快速打开Chromium DevTools的按钮,方便开发调试
4. 完善自动更新后端逻辑,新增版本比对、测试版本覆盖、通道动态获取等IPC接口
5. 调整GitHub Release构建脚本,修复prerelease版本的命名与发布问题
6. 添加semver依赖与类型定义,完善全量类型声明
7. 更新自动更新文档,补充更新通道相关的设计说明
8. 微调默认配置,添加主题暗黑模式的初始配置
2026-08-31 02:20:25 +08:00
dream_pep ca8eeb09ac Adjust release titles for beta/run
This change updates the release workflow to use display-only titles that match the release mode: run shows the base version (for example 1.2.1), while beta shows BETA {base}. The real tag/version remains unchanged for updater compatibility. The release notes plan document was also updated to document this naming convention.
2026-08-30 21:45:49 +08:00
dream_pep 12cb8b475e Stabilize Windows release CI
This commit hardens the release workflow against transient Electron binary download failures by switching Electron and electron-builder downloads to the npmmirror mirror and adding a single retry around the SignPath packaging step. This addresses intermittent TLS disconnects during CI builds without changing the release process itself.
2026-08-30 21:19:47 +08:00
dream_pep 12c2705f93 updater: enable prerelease & resilient tag discovery
Enable prerelease updates and make release discovery more robust. Set autoUpdater.allowPrerelease = true to ensure {base}-{buildId} prerelease tags are detected. Add compareVersionTags to compare X.Y.Z-buildId where buildId is compared numerically. discoverLatestTag now collects candidates from both /releases/latest HTML and the (proxied) GitHub API, picks the newest by the comparator, and logs candidates. Also continue trying other mirrors when a mirror reports no update. Update docs and CI workflow comments to explain the prerelease behavior.
2026-08-30 21:12:14 +08:00
dream_pep 4d3e43394c feat(auto-update): 实现全流程自动更新功能与配套界面
- 新增主进程更新服务,支持GitHub官方源与加速源兜底的检查、下载、安装全流程
- 新增独立更新日志页面,支持查看更新说明与更新全流程管理
- 实现更新状态持久化,重启应用可恢复上次未完成的下载进度
- 完善版本管理与构建元数据脚本,优化CI发布流水线
- 补充VersionCard的构建信息展示与更新页跳转逻辑
- 新增更新相关IPC接口、类型定义与全局状态管理
- 清理旧的无用配置项,升级相关依赖包
2026-08-30 20:19:15 +08:00
dream_pep b404ffaef8 build(签名流程): 优化签名流程以减少SignPath配额使用,添加相关控制
- 配置electron-builder仅使用SHA256算法签名,避免双签名以减半配额消耗
- 为签名脚本添加配额耗尽处理,超出后跳过后续签名任务
- 新增仅签名主安装包选项和发布工作流签名开关
- 在发布笔记中添加签名状态展示
- 更新自动更新文档,补充SignPath配额问题及解决方案
2026-08-28 03:18:18 +08:00
dream_pep 30451d505c ci(release): 重构发布流水线,新增中文发布说明脚本,更新文档
重构GitHub Actions发布流水线:
- 改为手动触发,支持beta测试和正式发布两种模式
- 自动基于UTC时刻生成BUILD ID作为版本后缀
- 拆分打包签名与发布步骤,新增中文发布说明生成逻辑
新增scripts/release-notes.ps1脚本,用于生成带提交记录的中文发布说明
更新docs/auto-update-plan.md文档,适配新的发布流程并新增对应章节
2026-08-28 02:33:47 +08:00
dream_pep 3653e26a09 feat: 发布 v1.2.0 版本,新增多项核心功能
- 引入 electron-updater 实现自动更新功能
- 新增 Java 环境扫描与校验的 IPC 处理逻辑
- 实现离线账号登录功能
- 新增配置变更跨进程广播机制
- 重构游戏启动逻辑,使用主进程内存配置作为唯一权威来源
- 新增界面显示与语言设置的配置页面
- 添加 Windows 平台自动发布 CI 流水线
- 迁移旧版配置/认证文件到用户数据目录
- 修复崩溃日志路径、表单控件等多项 bug
- 重构设置页组件系统统一界面样式
2026-08-28 02:08:12 +08:00
dream_pep 1cf906d0db Integrate @xmcl/task, import instances & UI updates
Add a new xmcl task system and instance-import workflow. Introduces electron/core/task.ts with @xmcl/task executors (install, sims), task lifecycle IPC (start/pause/resume/cancel) and stage mapping. Detect mod loaders in instance scanner and add importExistingInstance with IPC. Update front-end task store, types and UI (TaskButton, TaskCard, TaskQueue, TaskDebug) to support paused state, xmcl path/state and pause/resume actions. Improve game-dir UI with loader badges and bulk import. Small UX/dialog tweaks (alert-dialog, About) and dependency/pnpm workspace updates. Adds Koring.yml theme default.
2026-08-16 14:32:27 +08:00
dream_pep cb0afd99c0 Use BMCLAPI mirror & update build
Route Minecraft/Fabric/Forge downloads through BMCLAPI mirror and update installer logic. Added mirror rewrite utility (rewriteToMirror), mirror-aware downloadFile, and mirrorFetch; switched version manifest and metadata endpoints to bmclapi2.bangbang93.com and wired maven/assets hosts into xmcl/installer calls. Cleaned up compiled electron JS files and consolidated runtime files under electron-dist; updated electron-builder.yml (compression, asar, NSIS settings, license/installer assets and languages). Minor env/path changes (VITE_APP_ICON paths), added .npmrc (electron_mirror), new Koring.yml, pnpm-workspace and public installer assets. Also added/updated multiple frontend pages, store components, and TypeScript handlers to integrate the changes.
2026-08-04 01:28:16 +08:00
dream_pep 0fca587fef feat: add auth flow and settings UI refactor 2026-07-31 04:03:18 +08:00
dream_pep 27acc66252 Add Koring auth flow and settings UI refactor
Implements Koring OIDC device-auth flow and integrates it into the app: core auth (TS/JS), IPC handlers, renderer API, KoringLogin React component, and a zustand koringAuth store. Handlers support device-code request, polling, refresh, get-user and logout and persist user info to existing auth/config. Also refactors many settings pages to use shared Setting components (SettingCard, SettingRow, SectionTitle, PageHeader) and replaces custom controls with @heroui/react primitives (Avatar, Button, Switch, RadioGroup, Slider, Input, TextArea, EmptyState). Adds OOBE login/welcome pages, a setting login route, installer header generator script, and a sample koring-auth.json for development.
2026-07-26 06:42:41 +08:00
dream_pep cdbb1e54a3 20260723存档01 2026-07-23 01:29:55 +08:00
dream_pep 0a2b8bd018 Add crash monitor, OOBE flow & factory-reset
Introduce crash monitoring and an OOBE onboarding flow. Adds a crash logger (koring-crash.log), crash-monitor handler/window, preload-crash bridge, crash UI (crash.html, src/crash.tsx, pages/crash) and a debug page. Main process now sets up crash listeners, startup checks (first-launch, .minecraft), and a config reset/factory-reset that removes Koring.yml, koring-auth.json and background cache and can relaunch the app. Exposes config preloading to renderer, adds OOBE pages/layout, confirm dialog store/UI, trims Silk renderer settings, bumps version to 1.0.1 and adds motion dependency, and registers crash.html in Vite. Various related type and config updates included.
2026-07-12 01:24:31 +08:00
dream_pep 2b19144352 20260711存档01 2026-07-11 23:33:44 +08:00
dream_pep 9cb6a6e571 Migrate app from Tauri to Electron
Replace the Tauri/sidecar architecture with an Electron main process. Adds an electron/ directory (main, preload, handlers, core integrations for @xmcl/*), electron-builder.yml, TypeScript electron config and declarations, and updated IPC utilities (ipc.ts) so frontend uses ipcRenderer/ipcMain. Removes Tauri sidecar and src-tauri artifacts, deletes sidecar sources and keys, updates .gitignore, VSCode recommendations, package scripts and icons, and updates documentation (README, AGENTS, DEV) and frontend stores/apis to reflect the Electron-based architecture and config/auth persistence changes.
2026-06-28 03:37:07 +08:00
dream_pep 5b2e2860de UI完善 2026-06-20 22:16:18 +08:00
dream_pep ce28c24066 UI完善 2026-06-20 22:15:54 +08:00
dream_pep 2fa9d7041b feat: 个性化设置页面重构与辅助功能
- 重构主题与背景页面:一选项一卡片布局,深色模式可视化预览卡片
- 新增强内容模式:设置页面自动显示 80px 模糊背景遮罩,自适应亮/暗色
- 新增辅助功能:减少动画、减少透明度、高对比度三项开关
- 新增开发者选项:即时打开/关闭启动画面、强制关闭强内容模式
- 磨砂卡片样式:降低透明度提升可读性,圆角 16px
- 启动画面显示时间调整为 4 秒
- CSS 新增 .glass-card、.content-blur-overlay、辅助功能类
- 新增 a11yStore、devStore、themeStore 状态管理
2026-06-20 03:49:58 +08:00
dream_pep dfcc1a6900 优化显示效果
优化切换动画
优化darkmode适配问题
新增3种菜单栏状态
2026-06-20 02:34:10 +08:00
dream_pep 0faddcbf8c 启动动画优化 2026-06-20 00:34:26 +08:00
dream_pep 8ce58263be 初始化 2026-06-19 23:50:40 +08:00