Fix displaying error alert on macOS

This commit is contained in:
Wojtek Mach 2022-08-10 15:01:24 +02:00
parent 82577828f8
commit bc2a4d9d37

View file

@ -99,7 +99,7 @@ func buildReleaseTask() -> Process {
}
func runAlert(messageText: String) {
DispatchQueue.main.async {
DispatchQueue.main.sync {
let alert = NSAlert()
alert.alertStyle = .critical
alert.messageText = messageText