Skip to content

v2.0.1-beta.1

Pre-release
Pre-release

Choose a tag to compare

@StarAwA117 StarAwA117 released this 15 Nov 09:39
· 44 commits to main since this release

MCWSLoader 2.0.1-beta.1

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

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

原生 GUI / Native GUI

独立版改为 Flutter 原生界面,不再使用 WebView。

The standalone app now uses a native Flutter UI instead of WebView.

  • 原生仪表盘、客户端、命令、消息、模组、日志和设置页面
    Native dashboard, clients, commands, chat, Mods, logs and settings.
  • 不再启动 WebUI 静态页面服务
    The WebUI static page server is no longer started.
  • 不再显示登录页,不使用密码
    No login page and no password.
  • 默认不启动 WebSocket
    WebSocket is off by default.
  • 只保留 127.0.0.1:50100 本机 API 通道
    Only the loopback API on 127.0.0.1:50100 remains.

性能与体积 / Performance and size

  • 移除 WebView 和 Vue 静态资源,UI 线程不再加载 Node 共享库
    Removed WebView and Vue assets; the UI process no longer loads the Node shared library.
  • Node 在独立的 :node 进程运行,避免拖慢或拖死 Flutter UI
    Node runs in a separate :node process.
  • Node 堆上限为 128 MB
    Node heap is capped at 128 MB.
  • Android 使用 Node 24 LTS lite 运行时
    Android uses the Node 24 LTS lite runtime.
  • APK 只打包 arm64 Node 库,不再包含 x86 和 armeabi
    The APK includes only the arm64 Node library.
  • 从运行时移除 TypeScript、tsx 和 esbuild
    TypeScript, tsx and esbuild were removed from the runtime.
  • 移除未运行时需要的类型声明和 source map
    Type declarations and source maps are excluded from the runtime.
  • 当前 Android APK 约 70 MB,之前约 214 MB
    The Android APK is about 70 MB, down from about 214 MB.

Android 后台 / Android background

  • Node 使用前台服务运行
    Node runs in a foreground service.
  • 新增开机自启动
    Added boot autostart.
  • 设置页可打开电池优化豁免
    Battery optimization exemption is available from Settings.
  • 新增通知权限和后台权限适配
    Notification and background permission handling.
  • 启动时先渲染原生界面,再启动 Node
    The native UI renders before Node starts.

macOS 与图标 / macOS and icon

  • 新增 macOS arm64 GUI 构建
    Added macOS arm64 GUI builds.
  • 新增 macOS 网络和 JIT entitlement
    Added macOS network and JIT entitlements.
  • Android、Windows 和 macOS 使用圆角 pack_icon 应用图标
    Android, Windows and macOS use the rounded pack_icon app icon.

修复 / Fixes

  • Android 不再在启动时自动打开电池优化设置,避免看起来像闪退
    Android no longer opens battery settings automatically on launch.
  • Node 与 UI 分离,避免 Node 内存或崩溃带走界面
    Node is isolated from the UI.
  • 修复第一次构建时 node_flutter 资源初始化竞态
    Fixed the node_flutter asset initialization race.
  • 独立版隐藏更新、重启和结束进程入口
    Standalone builds hide update, restart and kill-process entries.

已知限制 / Limitations

  • Android Mod 导入、外部命令和 npm 依赖安装受系统限制
    Android Mod imports, shell commands and npm dependency installs are limited by the system.
  • 独立版只提供本机 API,不支持远程 WebUI 管理
    Standalone builds expose only a local API; remote WebUI management is not available.
  • macOS 首次运行可能需要允许 Gatekeeper
    macOS may require Gatekeeper approval on first launch.

升级 / Upgrade

git pull
npm install
npm start

从 2.0.0 升级无需额外迁移。
No extra migration is required from 2.0.0.

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