cirruslabs / tart

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

Fixed `--no-graphics` mode #755

Closed fkorotkov closed 3 months ago

fkorotkov commented 3 months ago

Regression introduced in #746

fkorotkov commented 3 months ago

FYI @torarnv. Not sure why NSApp is nil.

torarnv commented 3 months ago

NSApp should normally be just a wrapper around NSApplication.shared, but I believe creation of the app only happens on explicit invocation, so using NSApplication.shared explicitly makes sense.