Skip to content

Qwitch v0.9.5

Choose a tag to compare

@github-actions github-actions released this 29 Nov 06:29

聚焦 macOS 开机自启稳定性、静默驻留与系统登录项状态对账的修复版本。

修复

  • 消除启动时重复拉起与静默自启失效:启动不再无条件执行 launchctl bootout + bootstrap,改为仅在 plist 缺失或应用路径变更时幂等同步;同时 tauri_plugin_single_instance 收到 --autostart 参数时直接忽略,不再强行弹出主窗口。
  • 重构 macOS LaunchAgent plist:ProgramArguments 改为直接执行 .app/Contents/MacOS/... --autostart(移除 /usr/bin/open -a 避免抢焦点、闪 Dock 和触发 Reopen 弹窗),并补齐 AssociatedBundleIdentifiers(dev.qwitch.app),让 macOS 13+「系统设置 → 通用 → 登录项与扩展」准确归属到 Qwitch。
  • 修复 launchctl bootout / bootstrap 异步竞态:bootout 后轮询确认服务已卸载,并在 bootstrap 遇到 exit code 5 / 37 竞态错误时退避重试;关闭自启改为先卸载再删 plist;开发模式(cargo tauri dev)下不再误删已安装 .app 的自启配置。

新增

  • 系统侧自启状态实时对账:get_app_settings / save_app_settings 会实时探测 LaunchAgents 配置及 launchctl print-disabled 状态,并在设置页「开机自动启动」下方直接展示系统登录项禁用或路径漂移告警。

下载说明 / Downloads

  • macOS Apple Silicon (*aarch64.dmg):适用于 M1/M2/M3/M4 等 Apple Silicon Mac,原生 arm64,无需 Rosetta 2。
  • macOS Intel (*x64.dmg):适用于 Intel 芯片 Mac,原生 x86_64。
  • 两个 macOS 包均为独立架构,下载体积比 Universal 通用包更小;请按芯片类型选择。
  • macOS 首次打开被拦截(当前为 ad-hoc 签名,无 Apple Developer 证书、未公证):先把 Qwitch.app 拖入 /Applications,再按提示类型处理——
    • 提示「无法验证开发者」:打开「系统设置 → 隐私与安全性」,在底部点击「仍要打开」,然后重新双击应用。
    • 提示「已损坏」:系统不会提供「仍要打开」按钮,需清除隔离属性:
      xattr -dr com.apple.quarantine /Applications/Qwitch.app
      若仍无效,改用 xattr -cr /Applications/Qwitch.app 清除全部扩展属性。
  • Windows (*x64-setup.exe / *x64*.msi):适用于 Windows x64 桌面端安装。
  • 完整性校验:下载后可对照 SHA256SUMS.txt 校验安装包哈希值。

完整差异:v0.9.4...v0.9.5