Fixed --no-graphics mode (#755)

Regression introduced in #746
This commit is contained in:
Fedor Korotkov
2024-03-12 10:42:35 +00:00
committed by GitHub
parent ee27cc57bb
commit ac5d0baa0c
+1 -1
View File
@@ -352,7 +352,7 @@ struct Run: AsyncParsableCommand {
if noGraphics {
// enter the main even loop, without bringing up any UI,
// and just wait for the VM to exit.
NSApp.run()
NSApplication.shared.run()
} else {
runUI(suspendable, captureSystemKeys)
}