diff --git a/main.js b/main.js index 5d305d035..cf501e735 100644 --- a/main.js +++ b/main.js @@ -130,7 +130,7 @@ function createWindow () { // Emitted when the window is about to be closed. mainWindow.on('close', function (e) { - if (!shouldQuit) { + if (process.platform === 'darwin' && !shouldQuit) { e.preventDefault(); mainWindow.hide(); }