From 381b7d85f49ceaf0f8ef1071abe03162e6f011c1 Mon Sep 17 00:00:00 2001 From: Dick Choi Date: Fri, 21 Oct 2016 08:43:00 +0900 Subject: [PATCH] keep the convention --- lib/main-window.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main-window.js b/lib/main-window.js index 240f7545..8869aa5a 100644 --- a/lib/main-window.js +++ b/lib/main-window.js @@ -3,7 +3,7 @@ const app = electron.app const BrowserWindow = electron.BrowserWindow const path = require('path') -var showMenu = process.platform == "Win32" ? false : true; +var showMenu = process.platform !== 'win32' var mainWindow = new BrowserWindow({ width: 1080,