소스 검색

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