From 4b548c37dc5f408375adb001e0845ac6ebe10be6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lionel=20Lask=C3=A9?= Date: Fri, 31 May 2019 21:58:09 +0200 Subject: [PATCH] Force quit application when all electron Windows are close - now on any system --- main.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/main.js b/main.js index 428fde4c5..db904a0ba 100644 --- a/main.js +++ b/main.js @@ -218,10 +218,7 @@ app.on('ready', createWindow); // Quit when all windows are closed. app.on('window-all-closed', function () { - // On OS X force quit like on other platforms - if (process.platform == 'darwin') { - app.quit() - } + app.quit() }); app.on('activate', function () {