chore: fix default_app showMessageBox (#17357)
This commit is contained in:
parent
8991c0056e
commit
5eb75e91b9
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ async function createWindow () {
|
|||
cancelId: 1
|
||||
}
|
||||
|
||||
dialog.showMessageBox(mainWindow!, options, (response) => {
|
||||
dialog.showMessageBox(mainWindow!, options).then(response => {
|
||||
done(response === 0)
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue