From e8184a1e8eb8be4ef5dcb8a91ee9b4229a334de4 Mon Sep 17 00:00:00 2001 From: problematicconsumer Date: Fri, 25 Aug 2023 13:29:55 +0330 Subject: [PATCH] Fix macos silent start --- macos/Runner/AppDelegate.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/macos/Runner/AppDelegate.swift b/macos/Runner/AppDelegate.swift index d53ef643..9e1c7f68 100644 --- a/macos/Runner/AppDelegate.swift +++ b/macos/Runner/AppDelegate.swift @@ -4,6 +4,7 @@ import FlutterMacOS @NSApplicationMain class AppDelegate: FlutterAppDelegate { override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { - return true + // https://github.com/leanflutter/window_manager/issues/214 + return false } }