fixed menu for non-mac

This commit is contained in:
SPRINX0\prochazka
2024-12-03 13:07:02 +01:00
parent f9bcbd588b
commit 6a64633650

View File

@@ -89,17 +89,14 @@ module.exports = ({ editMenu, isMac }) => [
{ command: 'app.resetSettings', hideDisabled: true }, { command: 'app.resetSettings', hideDisabled: true },
], ],
}, },
isMac ...(isMac
? { ? [
role: 'window', {
submenu: [ role: 'window',
{ role: 'minimize' }, submenu: [{ role: 'minimize' }, { role: 'zoom' }, { type: 'separator' }, { role: 'front' }],
{ role: 'zoom' }, },
{ type: 'separator' }, ]
{ role: 'front' }, : []),
],
}
: null,
{ {
label: 'Help', label: 'Help',
submenu: [ submenu: [