diff --git a/main.js b/main.js index 8c14916..815c04b 100644 --- a/main.js +++ b/main.js @@ -24,7 +24,7 @@ function createWindow () { // Some APIs can only be used after this event occurs. app.whenReady().then(() => { createWindow() - + app.on('activate', function () { // On macOS it's common to re-create a window in the app when the // dock icon is clicked and there are no other windows open.