ITADN

[script] Prevent update freezing all windows

#2786Openbencat86 创建于 2026-04-29
B
bencat86commented
I've been fighting a problem for a little while, where `brew upgrade yabai` causes all windows to freeze. The fix so far has been to kill yabai (if I happen to have a terminal) or reboot. It seems to be due to a mix of needing to regrant accessibility permissions, and launchd repeatedly restarting a failing yabai process. I've written a [`yabai-upgrade` helper script](https://gist.github.com/bencat86/e3c2ba5390fdc1ab2706a1308a902505) (AI assisted) which seems to solve the problem. Posting here in case it helps others. Possibly it can also be integrated into the brew packaging to solve the issue. Edit: It seems adding this to plist also avoids lock up. Looks like it was in the brew package at some point, but got removed? ``` <key>ThrottleInterval</key> <integer>10</integer> ```
1 条评论