Browse Source

Comment added

master
Thibaut Boustany 7 years ago
parent
commit
335f8518bd
  1. 2
      src/main/autoUpdate.js

2
src/main/autoUpdate.js

@ -20,6 +20,8 @@ export function quitAndInstall() {
setImmediate(() => {
const browserWindows = BrowserWindow.getAllWindows()
// Fixes quitAndInstall not quitting on macOS, as suggested on
// https://github.com/electron-userland/electron-builder/issues/1604#issuecomment-306709572
app.removeAllListeners('window-all-closed')
browserWindows.forEach(browserWindow => {
browserWindow.removeAllListeners('close')

Loading…
Cancel
Save