cirruslabs / tart

macOS and Linux VMs on Apple Silicon to use in CI and other automations
https://tart.run
Other
3.76k stars 106 forks source link

Hide dock icon in no graphics mode #653

Closed torarnv closed 10 months ago

torarnv commented 10 months ago

This was likely not caught because the run-signed.sh script used during development didn't wrap the executable in an application bundle, which is what's done when Tart is installed on user systems.

The app bundle triggers macOS to show a Dock icon, which we now hide explicitly by setting an activation policy of prohibited:

https://developer.apple.com/documentation/appkit/nsapplication/activationpolicy/prohibited

CLAassistant commented 10 months ago

CLA assistant check
All committers have signed the CLA.