From c320a2b133b4472396cb6400db7a2598ea923216 Mon Sep 17 00:00:00 2001 From: "Brian R. Bondy" Date: Thu, 11 Feb 2016 15:13:09 -0500 Subject: [PATCH] Fix menus on Linux. Fix #735 Auditors: @diracdeltas --- app/menu.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/menu.js b/app/menu.js index 0e7a3e5765c..103457a00cf 100644 --- a/app/menu.js +++ b/app/menu.js @@ -12,7 +12,6 @@ const AppActions = require('../js/actions/appActions') const CommonMenu = require('../js/commonMenu') const Filtering = require('./filtering') -const isWindows = process.platform === 'win32' const isDarwin = process.platform === 'darwin' const issuesUrl = 'https://github.com/brave/browser-laptop/issues' @@ -182,7 +181,7 @@ const init = (args) => { } ] - if (isWindows) { + if (!isDarwin) { fileMenu.push(CommonMenu.separatorMenuItem) fileMenu.push(CommonMenu.quitMenuItem) helpMenu.push(CommonMenu.separatorMenuItem)