From 526499dfa5e149b21d4d38d08631e452c36ca0d3 Mon Sep 17 00:00:00 2001 From: Wojtek Mach Date: Thu, 20 Jan 2022 21:33:07 +0100 Subject: [PATCH] Update Mac error alert style --- app_builder/lib/app_builder/macos.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/app_builder/lib/app_builder/macos.ex b/app_builder/lib/app_builder/macos.ex index ef25617e6..f5dcb8079 100644 --- a/app_builder/lib/app_builder/macos.ex +++ b/app_builder/lib/app_builder/macos.ex @@ -157,6 +157,7 @@ defmodule AppBuilder.MacOS do if task.terminationStatus != 0 { let alert = NSAlert() + alert.alertStyle = .critical alert.messageText = "\\(appName) exited with error status \\(task.terminationStatus)." alert.informativeText = "Logs available at \\(logPath)." alert.runModal()