Skip to content

v0.1.1 - Hotfix: Bundled Playwright

Choose a tag to compare

@Xe-Persistent Xe-Persistent released this 07 Jan 12:20
· 286 commits to master since this release

简体中文 (Simplified Chinese)

📦 打包与部署

  • 变更: 切换为 onedir 打包模式。
  • 新增: 内置 Chromium 浏览器(ms-playwright 文件夹),无需手动安装 Playwright。
  • 新增: 自动将 pyproject.toml 中的版本号注入到可执行文件。

✨ 新功能

  • 新增: 首次运行自动检测系统语言 (zh-CN, zh-TW, ja-JP, en-US)。
  • 新增: 高分辨率 torii.ico 应用图标。

🛠️ 修复与改进

  • 移除: 移除了 browser.channel 设置(内置浏览器不再需要)。
  • 新增: 启动时检查 lib/ 和 models/ 完整性并提供友好提示。
  • 修复: 修正了打包环境下 PLAYWRIGHT_BROWSERS_PATH 环境变量的配置。

English

📦 Packaging & Deployment

  • Changed: Switched PyInstaller mode to onedir.
  • Added: Bundled Chromium browser (via ms-playwright folder), removing need for local Playwright installation.
  • Added: Automatic version injection from pyproject.toml into executable metadata.

✨ Features

  • Added: Auto-detection of system locale (zh-CN, zh-TW, ja-JP, en-US) on first run.
  • Added: High-resolution torii.ico application icon.

🛠️ Fixes & Improvements

  • Removed: browser.channel setting (redundant with bundled browser).
  • Added: Startup check for lib/ and models/ directories with friendly error messages.
  • Fixed: PLAYWRIGHT_BROWSERS_PATH environment variable configuration for bundled environment.

Full Changelog: v0.1.0...v0.1.1