HyperDock, a macOS tool that provides windows previews like modern versions of Windows, seems to have problems on macOS Catalina for me. At random times, it will stop working and I need to go to System Preferences and disable and re-enable it; sometimes many times a day.
I’ve tried contacting the author and so far I’ve not gotten any response. The last update was quite a while ago, and … just radio silence.
To help fix this, I’ve fiddled around enough to figure out what program to run to get HyperDock to work again, and have built a really janky daemon for it using a Login Item.
I have this script that runs every time I log in, which will (re)start the HyperDock Helper, and restart it every time it dies:
#/bin/zsh
until "/Users/username/Library/PreferencePanes/HyperDock.prefpane/Contents/Resources/HyperDock Helper.app/Contents/MacOS/HyperDock Helper"; do
echo "HyperDock Helper crashed with exit code $?. Respawning.." >&2 | tee /Users/username/.hh.log
sleep 1
done
Code language: PHP (php)
and it works…
2020-02-28 23:43:32.201 HyperDock Helper[11165:524120] de.bahoom.HyperDock-Helper 1.8 (1.8.0) starting ...
2020-02-28 23:43:32.282 HyperDock Helper[11165:524120] AXIsProcessTrusted: 1
2020-02-28 23:43:32.385 HyperDock Helper[11165:524120] Can't find app with identifier com.apple.iTunes
2020-02-28 23:43:40.262 HyperDock Helper[11165:524212] Couldn't find wid for axw (null)
2020-02-28 23:43:41.364 HyperDock Helper[11165:524125] Couldn't find wid for axw (null)
2020-02-28 23:44:01.464 HyperDock Helper[11165:524120] uneven contentView size: {427, 202}
2020-02-28 23:44:01.464 HyperDock Helper[11165:524120] uneven mainViewBounds size: {427, 202}
./hyperdock-helper.sh: line 5: 11165 Terminated: 15 "/Users/username/Library/PreferencePanes/HyperDock.prefpane/Contents/Resources/HyperDock Helper.app/Contents/MacOS/HyperDock Helper"
HyperDock Helper crashed with exit code 143. Respawning..
2020-02-28 23:44:37.091 HyperDock Helper[11177:524717] de.bahoom.HyperDock-Helper 1.8 (1.8.0) starting ...
2020-02-28 23:44:37.169 HyperDock Helper[11177:524717] AXIsProcessTrusted: 1
2020-02-28 23:44:37.275 HyperDock Helper[11177:524717] Can't find app with identifier com.apple.iTunes
Code language: PHP (php)
Hopefully this might help someone else that has the same problem that’s been bothering me for months 🙂
Leave a Reply