Repository navigation
DisplayToggle 1.8.1 — Shutdown cleanup / 关机清理修复
此版本重点改善 macOS 关机、重新启动和应用退出时的清理行为。它是预防性修复,并不代表已经确定 DisplayToggle 是之前 kernel panic 的原因。
Changes / 更新内容
- Respond to macOS power-off notifications and normal app termination by stopping the background display watchdog.
- Unregister display reconfiguration callbacks and release the activity token used to prevent App Nap.
- Reject new SkyLight display configuration transactions once shutdown begins.
- Stop the unplug-recovery sleep/wake sequence from sending caffeinate wake events after shutdown has been signaled.
- Make selftest --dry genuinely non-invasive; it now checks shutdown guards without switching displays or invoking pmset.
- Preserve the existing display-toggle behavior, auto-restore feature, and Keep across restarts preference.
Installation / 安装
Download DisplayToggle-1.8.1.dmg and drag DisplayToggle.app into Applications, replacing the previous version.
Apple Silicon, macOS 13+. Ad-hoc signed and not notarized. If Gatekeeper blocks the first launch, right-click the app and choose Open.
Validation / 验证
Compiled successfully on Apple Silicon and passed the non-destructive selftest --dry. Shutdown/restart stability still needs real-world regression testing, so this release does not claim to eliminate every system shutdown panic.
MIT License.