Skip to content

TiLex 0.2.1

Choose a tag to compare

@github-actions github-actions released this 20 Sep 09:29
· 15 commits to main since this release

TiLex 0.2.1

相比 0.1.2 的改动。

升级方法与注意事项:直接运行新安装包。出现「已安装」页面时,保持默认的「安装前卸载」,点下一步即可。安装包会识别旧版(0.1.x)并执行卸载。

⚠️ 重要提醒:原有设置和生词本不会自动迁移保留

  • 0.2.1 是整体原生重写版本,数据存储目录已调整为 %APPDATA%\TiLex。旧版(0.1.x)的数据存放在旧目录中,新版不会读取旧目录,也不会自动迁移。升级后将是全新的默认配置与空白生词本。
  • 旧版数据并未被删除,仍完整保留在原处。如需保留原有生词本,请务必在升级前使用 0.1.x 旧版导出 Markdown(旧版设置页内提供导出功能),安装 0.2.1 后再根据需要重新录入。
  • 新版安装包与卸载程序不会删除 %APPDATA%\TiLex,后续在 0.2.x 系列版本之间升级不会丢失数据。

架构与性能

  • Slint 原生重写:整体从 Tauri + React 架构重写为 Rust + Slint 原生桌面架构,彻底摆脱对 WebView2 运行时的依赖,不再启动浏览器多进程。
  • 内存大幅下降:空闲内存(专用工作集)由旧版的约 149 MB(主进程与 9 个 WebView2 子进程合计)降低至原生版的 1.5–2.2 MB;日常使用翻译后的空闲专用工作集仅约 10–13 MB。

功能对齐

新版与 0.1.x 核心功能范围保持一致(F1–F11),并未削减功能:

  • 划词翻译与结果浮窗:支持划词浮标取词、多服务并行翻译、结果折叠、复制、收藏生词与语音朗读(TTS)。
  • 截图 OCR:快捷键截图识别翻译,内置微信 OCR 与 Umi-OCR 离线/在线识别。
  • 翻译服务:支持自定义 AI 服务与模型(带测速与延迟统计),以及 Google、Bing、DeepL、百度、腾讯交互翻译等内置引擎。
  • 生词本:单词与长难句卡片、搜索与筛选、批量软删除与 Markdown 导出。
  • 设置与系统集成:系统托盘常驻、中英双语界面、深浅色主题切换、开机自启动及快捷键自定义。

TiLex 0.2.1 (English)

Changes since 0.1.2.

How to upgrade & Important notice: Run the new installer directly. When the "Already Installed" page appears, keep the default "Uninstall before installing" and click Next. The installer will recognize and uninstall the legacy version (0.1.x).

⚠️ Important Notice: Existing settings and wordbook are NOT automatically migrated

  • 0.2.1 is a complete native rewrite, and the data storage directory has changed to %APPDATA%\TiLex. Legacy (0.1.x) data resides in the old directory; the new version does not read the old directory and will not automatically migrate it. After upgrading, you will start with fresh default settings and an empty wordbook.
  • Legacy data has not been deleted and remains intact in its original location. To keep your wordbook, please export it to Markdown using the 0.1.x legacy version before upgrading (available in the legacy Settings page), and re-enter words as needed after installing 0.2.1.
  • The installer and uninstaller do not delete %APPDATA%\TiLex, so upgrading between future 0.2.x releases will preserve your data.

Architecture & Performance

  • Native Slint Rewrite: Fully rewritten from Tauri + React to native Rust + Slint. Completely removes the dependency on WebView2 runtime and no longer runs multiple browser processes.
  • Substantially Lower Memory Usage: Idle memory (private working set) decreased from ~149 MB in the legacy version (main process combined with 9 WebView2 child processes) to 1.5–2.2 MB in the native rewrite; idle private working set after translation usage remains around 10–13 MB.

Feature Alignment

The new release aligns with all core features from 0.1.x (F1–F11) without feature reduction:

  • Selection & Result Popup: Floating selection button, parallel multi-service translation, card folding, copying, word favoriting, and speech synthesis (TTS).
  • Screenshot OCR: Hotkey screenshot capture and translation, supporting WeChat OCR and Umi-OCR offline/online recognition.
  • Translation Services: Supports custom AI services/models with latency testing, plus built-in engines including Google, Bing, DeepL, Baidu, and Transmart.
  • Wordbook: Word and sentence cards, search and filtering, batch removal, and Markdown export.
  • Settings & System Integration: System tray residency, bilingual UI (English/Chinese), light/dark themes, launch at startup, and customizable hotkeys.