From e6acdf387c0779ab5b32e4091985afa0edfe0fad Mon Sep 17 00:00:00 2001 From: steevsachs Date: Tue, 2 Jul 2019 09:09:39 -0400 Subject: [PATCH] [MM-11896] Do not use minimize shortcut on win32 (#971) --- src/main/menus/app.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/menus/app.js b/src/main/menus/app.js index 3da62b41..3825969b 100644 --- a/src/main/menus/app.js +++ b/src/main/menus/app.js @@ -191,6 +191,9 @@ function createTemplate(mainWindow, config, isDev) { label: '&Window', submenu: [{ role: 'minimize', + + // empty string removes shortcut on Windows; null will default by OS + accelerator: process.platform === 'win32' ? '' : null, }, { role: 'close', }, separatorItem, ...teams.slice(0, 9).map((team, i) => {