chore: fix default_app showMessageBox (#17357)

This commit is contained in:
Shelley Vohr
2019-03-12 14:10:18 -07:00
committed by GitHub
parent 8991c0056e
commit 5eb75e91b9

View File

@@ -81,7 +81,7 @@ async function createWindow () {
cancelId: 1
}
dialog.showMessageBox(mainWindow!, options, (response) => {
dialog.showMessageBox(mainWindow!, options).then(response => {
done(response === 0)
})
})