From 3f26258efd9dcb99e701ab8a7bea8cabbd233e17 Mon Sep 17 00:00:00 2001 From: Jessica Lord Date: Wed, 16 Dec 2015 11:11:29 -0800 Subject: [PATCH] Use stricter platform check --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 1e64f18..14011f7 100644 --- a/main.js +++ b/main.js @@ -11,7 +11,7 @@ let mainWindow; app.on('window-all-closed', function () { // On OS X it is common for applications and their menu bar // to stay active until the user quits explicitly with Cmd + Q - if (process.platform != 'darwin') { + if (process.platform !== 'darwin') { app.quit(); } });