Dialog

Show blocking native messages

const indexOfClickedButton = dialog.showMessageBoxSync({
  type: "warning",
  message: "Welcome to the future",
  title: "Permissions Error"
});
console.log("Printed after the message is accepted")

Last updated