Browse Source

Merge pull request #274 from LN-Zap/fix/close-zap-on-window-close

fix(window): quit zap application when closing window
renovate/lint-staged-8.x
JimmyMow 7 years ago
committed by GitHub
parent
commit
d0ffd52f18
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/main.dev.js

3
app/main.dev.js

@ -236,6 +236,9 @@ app.on('ready', async () => {
mainWindow.on('closed', () => {
mainWindow = null
// shut down zap when a user closes the window
app.quit()
})
const menuBuilder = new MenuBuilder(mainWindow)

Loading…
Cancel
Save