From 7c753d1aba07853adfe7f4d0419f83d3c94a9612 Mon Sep 17 00:00:00 2001 From: Ben Creasy Date: Fri, 9 Feb 2018 20:04:02 -0800 Subject: [PATCH] on Linux default to "showHamburgerMenu": true --- app/config/config-default.js | 5 ++--- lib/components/header.js | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/config/config-default.js b/app/config/config-default.js index ae646584de31..e75b7ca38dd6 100644 --- a/app/config/config-default.js +++ b/app/config/config-default.js @@ -51,9 +51,8 @@ module.exports = { // custom CSS to embed in the terminal window termCSS: '', - // set to `true` (without backticks and without quotes) if you're using a - // Linux setup that doesn't show native menus - // default: `false` on Linux, `true` on Windows, ignored on macOS + // if you're using a Linux setup which show native menus, set to false + // default: `true` on Linux, `true` on Windows, ignored on macOS showHamburgerMenu: '', // set to `false` (without backticks and without quotes) if you want to hide the minimize, maximize and close buttons diff --git a/lib/components/header.js b/lib/components/header.js index 8df41278a8a7..f6eed2bf3eb5 100644 --- a/lib/components/header.js +++ b/lib/components/header.js @@ -72,7 +72,7 @@ export default class Header extends PureComponent { const {showHamburgerMenu, showWindowControls} = this.props; const defaults = { - hambMenu: process.platform === 'win32', // show by default on windows + hambMenu: !this.props.isMac, // show by default on windows and linux winCtrls: !this.props.isMac // show by default on Windows and Linux };