Skip to content

v1.0.3 · Windows 专用版

Choose a tag to compare

@garetneda-gif garetneda-gif released this 04 Mar 11:09
· 22 commits to main since this release

⚠️ 平台说明

本版本仅适用于 Windows 用户。
macOS / Linux 用户请使用 v1.0.2


2026-03-04 补丁:修复模型下载按钮

  • 修复 Python 3.9 兼容性问题(str | None 语法导致脚本启动即崩溃)
  • 下载脚本加入 60 秒连接超时,防止网络卡住后永久挂起
  • 替换失效的 GitHub 镜像(ghgo.xyz → ghproxy.net / mirror.ghproxy.com)
  • 修复下载前不检查脚本是否存在导致的静默失败
  • Python 进程改为无缓冲输出,下载进度实时显示

Windows 平台全面适配

本版本解决了插件在 Windows 系统上无法启动后端的问题,并优化了跨平台体验。

修复内容

  • 后端启动失败修复:Windows 下 asyncio.add_signal_handler 抛出 NotImplementedError 导致后端崩溃,改用 signal.signal() 兼容处理
  • 进程管理适配:使用 taskkill / wmic 替代 Unix-only 的 SIGKILL / pgrep,确保 Windows 上能正确管理后端进程
  • 路径分隔符修复:插件目录路径从硬编码 / 改为 path.join(),避免 Windows 路径拼接错误
  • Python 默认路径优化:Windows 下自动使用 python(而非 python3),减少首次配置成本
  • 提示信息本地化:设置页面占位符和错误提示根据平台自动切换(pip vs pip3,路径格式等)

安装方式

方式一(推荐):下载 realtime-transcription.zip,解压后将 realtime-transcription 文件夹整体复制到:

<你的笔记库>\.obsidian\plugins\n```

**方式二**:分别下载 `main.js`、`manifest.json`、`styles.css` 三个文件,手动放入:

<你的笔记库>.obsidian\plugins
ealtime-transcription\n```
然后将仓库中的 backend/ 文件夹也复制到该目录。