浏览代码

Use stricter platform check

Jessica Lord 10 年之前
父节点
当前提交
3f26258efd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main.js

+ 1 - 1
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();
   }
 });