Skip to content

MoYu v0.1.29

Choose a tag to compare

@github-actions github-actions released this 28 Oct 16:24

🚀 Features & Enhancements / 新特性与优化

  • Enlarge Reader playback toolbar and status bar controls for all-age readability, and compact the 'More' settings dropdown menu.
    放大阅读器播放控制栏、底部状态栏与示波器工具条的按钮尺寸与字体层级,显著提升全年龄段可读性与操作便捷度,并精简紧凑“更多”下拉菜单。
  • Add native companion file export command save_companion_text for reliable Morse LRC and TXT lyric file saving across desktop environments.
    新增后端伴生文件写入指令 save_companion_text,保障音频导出时配套的 .lrc 与 .txt 同步歌词文件在各平台沙箱及受限目录下的可靠保存。

🐛 Bug Fixes / 问题修复

  • Disable F12 and developer shortcut inspection in production builds to prevent accidental DevTools popups.
    在正式发布版本中禁用 F12 及快捷键调出控制台,全局拦截默认行为,仅允许在本地开发模式下唤起开发者工具。
  • Harden cross-platform speech recognition on Windows, macOS, Linux, and Android:
    • Fix WebView2 Runtime 153+ HTTP 403 network error by bypassing the Ceto cloud endpoint.
    • Fix macOS WKWebView gesture token loss and CoreAudio lock contention by invoking recognition synchronously in user gestures.
    • Embed macOS audio-input and network entitlements with ad-hoc code signing in CI workflows.
    • Automatically deduplicate consecutive final speech transcripts and prevent duplicate text on stop.
    • Replace blocking native alerts on unsupported WebViews (e.g. Linux WebKitGTK) with in-app error banners.
      全面加固 Windows / macOS / Linux / Android 跨平台语音识别:
    • 修复 Windows WebView2 Runtime 153+ 环境下因 Ceto 端点 403 导致的语音识别网络异常;
    • 在用户手势上下文中同步启动语音识别,消除 macOS WKWebView 丢失手势令牌与 CoreAudio 冲突;
    • 为 macOS 打包显式配置 ad-hoc 签名以在 CI 中正确注入麦克风及网络权限,并在 Android CI 中注入录音权限;
    • 停止录音时解绑监听并去重连续 final 转写片段,彻底根除文本重复上屏问题;
    • Linux WebKitGTK 等不支持语音 API 的平台改用内嵌轻量横幅提示,避免原生弹窗阻塞。
  • Resolve mobile compilation errors for DevTools by guarding toggle_devtools with #[cfg(desktop)].
    在 Rust 后端为 toggle_devtools 添加 #[cfg(desktop)] 条件编译守卫,确保 Android 等移动端平台顺利编译。
  • Fix React hook stale closures in useEbook and useKeyInput, and resolve missing dependencies in training follow-up modules.
    修复 useEbook、useKeyInput 与跟发训练模块中的闭包引用缺陷与依赖项遗漏,清理无用冗余状态与死代码。