Skip to content

envSwitch v0.2.2

Choose a tag to compare

@dacj4n dacj4n released this 21 May 09:13
· 1 commit to main since this release

v0.2.2 (2026-05-21)

Added — GUI one-click shell init/uninit

  • Settings page now has Initialize and Remove buttons for shell integration.
  • init_shell / uninit_shell Tauri commands: create ~/.envswitch/ dirs, write init.sh, add/remove init block from .zshrc/.bashrc — all from the GUI, no CLI binary needed.
  • Shell integration status shown in real-time on the Settings page.

Changed — CLI availability is optional

  • cover_module no longer requires the CLI binary to be installed. Only shell initialization is checked.
  • Doctor page: CLI availability downgraded from error to warning, labeled "(optional — for terminal use)".

Added — Python unversioned tool symlinks (pip, pydoc, idle, wheel)

  • Homebrew python@X.Y is keg-only — unversioned pip3/pip/pydoc3/idle3 etc. were missing.
  • ensure_symlink() helper creates convenience links after install: python3, python, pip3, pip, pydoc3, idle3, python3-config, wheel3.

Changed — CI: Intel Mac build target

  • Release workflow now builds both aarch64-apple-darwin (Apple Silicon) and x86_64-apple-darwin (Intel Mac).
  • SHA256 printed to CI logs for audit trail.

v0.2.2 (2026-05-21)

新增 — GUI 一键 Shell 初始化/移除

  • 设置页面新增 初始化 和 移除 按钮,一键管理 Shell 集成。
  • init_shell / uninit_shell Tauri 命令:创建 ~/.envswitch/ 目录、写入 init.sh、添加/移除 rc 文件中的 init block — 全部在 GUI 内完成,无需 CLI 二进制。
  • 设置页面实时显示 Shell 集成状态。

变更 — CLI 可用性改为可选

  • cover_module 不再要求 CLI 二进制必须安装,仅检查 Shell 初始化。
  • 诊断页面:CLI 可用性从错误降级为警告,标注"可选 — 终端使用"。

新增 — Python 非版本化工具链接(pip、pydoc、idle、wheel)

  • Homebrew 的 python@X.Y 是 keg-only,缺少 pip3/pip/pydoc3/idle3 等非版本化链接。
  • ensure_symlink() 辅助函数在安装后创建便捷链接:python3、python、pip3、pip、pydoc3、idle3、python3-config、wheel3。

变更 — CI:Intel Mac 构建目标

  • Release 工作流现在同时构建 aarch64-apple-darwin(Apple Silicon)和 x86_64-apple-darwin(Intel Mac)。
  • CI 日志中打印 SHA256 便于审计。

Full Changelog: v0.2.1...v0.2.2