[MM-22230] fix promises, reenable trust protocols, reenable capturing unhandled exceptions (#1315)

* [MM-22230] migrate dialogs to promises if needed

* object response, actually capture and show the screen

* make app close if user chooses ok
This commit is contained in:
Guillermo Vayá
2020-06-08 10:03:21 +02:00
committed by GitHub
parent 1a217853d7
commit 877f81d430
3 changed files with 40 additions and 34 deletions

View File

@@ -57,7 +57,7 @@ function initDialogEvent(mainWindow) {
],
cancelId: 2,
noLink: true,
}, (response) => {
}).then(({response}) => {
switch (response) {
case 1: {
allowedProtocols.push(protocol);