diff --git a/Sources/tart/Commands/Run.swift b/Sources/tart/Commands/Run.swift index 0e5f461..07c138d 100644 --- a/Sources/tart/Commands/Run.swift +++ b/Sources/tart/Commands/Run.swift @@ -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) }