mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-01-07 23:47:53 +08:00
Update Mac error alert style
This commit is contained in:
parent
f4397d36b9
commit
526499dfa5
1 changed files with 1 additions and 0 deletions
|
@ -157,6 +157,7 @@ defmodule AppBuilder.MacOS do
|
||||||
|
|
||||||
if task.terminationStatus != 0 {
|
if task.terminationStatus != 0 {
|
||||||
let alert = NSAlert()
|
let alert = NSAlert()
|
||||||
|
alert.alertStyle = .critical
|
||||||
alert.messageText = "\\(appName) exited with error status \\(task.terminationStatus)."
|
alert.messageText = "\\(appName) exited with error status \\(task.terminationStatus)."
|
||||||
alert.informativeText = "Logs available at \\(logPath)."
|
alert.informativeText = "Logs available at \\(logPath)."
|
||||||
alert.runModal()
|
alert.runModal()
|
||||||
|
|
Loading…
Reference in a new issue