explain the process.platform check

This commit is contained in:
Matt DesLauriers 2015-07-06 20:38:38 -04:00
parent 519b51f055
commit 0c0446e254

View file

@ -82,6 +82,8 @@ var mainWindow = null;
// Quit when all windows are closed.
app.on('window-all-closed', function() {
// On OSX it is common for applications and their menu bar
// to stay active until the user quits explicitly with Cmd + Q
if (process.platform != 'darwin') {
app.quit();
}