From: Matt DesLauriers Date: Tue, 7 Jul 2015 00:38:38 +0000 (-0400) Subject: explain the process.platform check X-Git-Tag: v0.29.2~5^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=0c0446e254b99e7e94d7e83db3576b51b3b0f571;p=electron.git explain the process.platform check --- diff --git a/docs/tutorial/quick-start.md b/docs/tutorial/quick-start.md index 644793f6..8f723bbc 100644 --- a/docs/tutorial/quick-start.md +++ b/docs/tutorial/quick-start.md @@ -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(); }