[MM-11896] Do not use minimize shortcut on win32 (#971)

This commit is contained in:
steevsachs
2019-07-02 09:09:39 -04:00
committed by Hanzei
parent 04c03c3baf
commit e6acdf387c

View File

@@ -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) => {