Use stricter platform check

This commit is contained in:
Jessica Lord 2015-12-16 11:11:29 -08:00
parent 803db72fe6
commit 3f26258efd
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ let mainWindow;
app.on('window-all-closed', function () { app.on('window-all-closed', function () {
// On OS X it is common for applications and their menu bar // On OS X it is common for applications and their menu bar
// to stay active until the user quits explicitly with Cmd + Q // to stay active until the user quits explicitly with Cmd + Q
if (process.platform != 'darwin') { if (process.platform !== 'darwin') {
app.quit(); app.quit();
} }
}); });