github oldj/SwitchHosts v5.0.1-beta.7
SwitchHosts v5.0.1-beta.7

pre-release3 hours ago

Changelog

Added

  • Added a macOS background helper that can write to /etc/hosts silently after one-time authorization, reducing repeated password prompts during automatic remote hosts updates.
  • Added background helper management in General settings, including status, install, reinstall, and remove actions.
  • Added an “Open System Settings” button to help users approve the helper in macOS Login Items.

Improved

  • macOS hosts applying now tries the background helper first, then automatically falls back to the existing system authorization flow if the helper is unsupported, unavailable, or fails.
  • Added safety checks to the helper write flow and restricted privileged writes to /etc/hosts only.
  • Improved macOS login startup behavior to avoid unexpectedly showing a previously hidden main window.

Fixed

  • Fixed background helper XPC signature validation failures on macOS 26.
  • Fixed possible concurrent helper unregister/register operations when repeatedly triggering helper repair.
  • Fixed macOS universal builds failing to package the background helper binary correctly.

修改日志

新增

  • 新增 macOS 后台助手,可在一次授权后静默写入系统 /etc/hosts,减少自动更新远程 hosts 时反复输入密码的情况。
  • 在通用设置中新增后台助手管理入口,支持查看状态、安装、重新安装、移除。
  • 新增“打开系统设置”按钮,方便用户前往 macOS“登录项”中批准后台助手。

改进

  • macOS 应用 hosts 时优先使用后台助手;当后台助手不可用、不受支持或写入失败时,自动回退到原有系统授权流程。
  • 后台助手写入流程增加安全校验,并固定只允许写入 /etc/hosts
  • 优化 macOS 登录启动行为,避免登录恢复时意外显示已隐藏的主窗口。

修复

  • 修复 macOS 26 下后台助手 XPC 签名校验失败导致无法连接的问题。
  • 修复重复点击后台助手修复操作时可能触发并发注册/注销的问题。
  • 修复 macOS universal 构建中后台助手二进制未正确打包的问题。

Full Changelog: v5.0.1-beta.4...v5.0.1-beta.7

Don't miss a new SwitchHosts release

NewReleases is sending notifications on new releases.