Skip to content

v2.0.1-beta.2

Pre-release
Pre-release

Choose a tag to compare

@StarAwA117 StarAwA117 released this 15 Nov 12:34
· 24 commits to main since this release

MCWSLoader 2.0.1-beta.2

⚠️ 测试版 / Beta:升级前请备份 config.json、permission.json、mods/ 和自定义 Mod。

Beta: Back up config.json, permission.json, mods/ and custom Mods before upgrading.

修复 Android 卡在“正在启动本地服务” / Fix Android startup hang

  • 修复独立包中 tsx 已删除但 package.json 仍声明它,启动时触发 npm install 并永远不启动 API 的问题
    Fixed the standalone package declaring tsx after removing it. This made main.ts run npm install at boot instead of starting the API.
  • 修复 UI 进程不加载 libnode.so 后仍调用 JNI 的 getCurrentABIName / registerNodeDataDirPath,导致 node_flutter 插件初始化失败的问题
    Fixed node_flutter calling JNI getCurrentABIName / registerNodeDataDirPath in a UI process that intentionally does not load libnode.so.
  • 修复 Android 13+ 未授予通知权限时直接拒绝启动前台服务的问题
    Fixed the foreground service being rejected before startup when POST_NOTIFICATIONS was not granted on Android 13+.
  • 修复资源复制失败时初始化信号量不释放,waitForInit() 永久阻塞的问题
    Fixed the init semaphore not being released when asset copying failed, which blocked waitForInit() forever.
  • 资源复制缓冲从 1 KB 提升到 64 KB,首次启动更快
    Increased the asset copy buffer from 1 KB to 64 KB.
  • 启动失败后点击重试会重新轮询 API,而不是直接返回
    Retry now polls the API again after a startup timeout.

WebUI 回到 Flutter / WebUI returns to Flutter

独立版不再维护一套原生页面,改为 Flutter WebView 渲染现有 Vue WebUI。

The standalone app no longer uses a separate native page set. Flutter WebView now renders the existing Vue WebUI.

  • WebUI 从 Flutter assets 以 file:// 加载
    WebUI loads from Flutter assets through file://.
  • 不启动 WebUI 静态服务器
    No static WebUI server is started.
  • 本地 API 仍只监听 127.0.0.1:50100
    The local API still listens only on 127.0.0.1:50100.
  • 独立版使用 hash 路由和单文件经典脚本,避免 file:// 下的 ES module CORS 问题
    Standalone uses hash routing and a single classic script to avoid file:// ES module CORS.
  • 允许 loopback API 接受 Origin: null / file://,并支持预检请求
    Loopback API accepts Origin: null / file:// and handles preflight requests.
  • 支持浅色 Star 和 Catppuccin Mocha 主题
    Supports the Star light theme and Catppuccin Mocha.

关于页面 / About page

WebUI 侧边栏最后新增“关于”页面:

A new About page is the last item in the WebUI sidebar:

  • 作者 GitHub
    Author GitHub
  • 项目地址
    Project repository
  • GPL-3.0 协议
    GPL-3.0 license
  • 应用和 Node.js 版本
    App and Node.js versions
  • 技术栈、文档、问题反馈链接
    Technology stack, wiki and issue links

普通 WebUI 和独立 WebUI 使用同一页面。
The normal WebUI and standalone WebUI use the same page.

平台 / Platforms

  • Android arm64 APK
  • Windows x64
  • Linux x64
  • macOS arm64

四个平台的 CI 构建均已通过。
CI builds for all four platforms pass.

兼容性 / Compatibility

从 2.0.1-beta.1 或 2.0.0 升级不需要迁移数据。
No data migration is required from 2.0.1-beta.1 or 2.0.0.

完整变更 / Full changelog: v2.0.1-beta.1...v2.0.1-beta.2