Skip to content

v2.0.1-beta.8

Pre-release
Pre-release

Choose a tag to compare

@StarAwA117 StarAwA117 released this 17 Nov 13:55
· 2 commits to main since this release

MCWSLoader 2.0.1-beta.8

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

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

日志页终端命令 / Terminal commands in Logs

日志页底部新增终端命令输入框,普通 WebUI 和独立版都可用。

A terminal command input is now available at the bottom of the Logs page in both WebUI and standalone builds.

  • 支持服务端 Mod 命令,例如 $c:attack
    Supports server Mod commands such as $c:attack.
  • 命令解析失败、参数错误或未知命令会返回明确错误
    Parse errors, invalid arguments and unknown commands return an explicit error.
  • console.log / console.error 输出会同时显示在日志页
    console.log / console.error output is also written to the Logs page.
  • 新增 /api/terminal,不需要启动 WebSocket
    Added /api/terminal; WebSocket does not need to be running.

独立版界面 / Standalone UI

  • 移除模式、认证和 CORS 来源白名单设置
    Removed mode, authentication and CORS origin settings from GUI builds.
  • 独立版 API 固定为 127.0.0.1:50100,即使旧配置改了端口也不会再导致 WebView 连不上
    The standalone API is pinned to 127.0.0.1:50100; old config ports can no longer make the WebView unreachable.
  • 设置页的“后台权限”按钮改为与其他主按钮一致的样式
    The background-permissions button now uses the regular primary button style.
  • 隐藏滚动条,减少手机 WebView 的视觉干扰
    Hidden scrollbars in GUI builds.
  • 修复状态栏和导航栏颜色与主题不一致
    Status/navigation bars now follow the selected UI theme.
  • 移除侧边栏退出登录
    Removed the logout entry from the GUI sidebar.

路径 / Data root

  • 模组配置中的 ./ 现在以可写数据目录为根
    ./ in Mod configs now resolves under the writable data root.
  • Android 优先使用 /sdcard/games/mcwsloader,启动时申请所有文件访问权限并创建目录
    Android prefers /sdcard/games/mcwsloader, requests all-files access and creates the folder.
  • 桌面端使用应用支持目录下的 server/
    Desktop uses server/ under the application support directory.
  • 模组配置弹窗会显示实际路径根目录
    The Mod config dialog now displays the actual path root.

性能 / Performance

  • 手机 WebView 使用不透明表面,关闭大范围模糊、背景光晕和装饰动画
    Mobile WebViews use opaque surfaces and skip large blur, glows and decorative animations.
  • 降低状态、日志和聊天轮询频率
    Reduced status, logs and chat polling frequency.
  • 保留 Vue WebUI 渲染,不切换回原生页面
    The Vue WebUI remains the renderer; no native page rewrite.

构建修复 / Build fixes

  • 修复 Android 编译时使用不存在的 Os.chdir
    Fixed an Android build failure from using a non-existent Os.chdir.
  • Windows 构建固定使用 Visual Studio 2022,避免 webview_all 的实验性协程在新版 MSVC 下失败
    Pinned Windows builds to Visual Studio 2022 so webview_all's experimental coroutine code builds with the installed MSVC.

兼容性 / Compatibility

从 2.0.1-beta.6 或更早版本升级不需要迁移数据。Android 首次启动需要授予存储权限。
No migration is needed from 2.0.1-beta.6 or older. Android needs storage permission on first launch.

完整变更 / Full changelog: v2.0.1-beta.6...v2.0.1-beta.8