mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-26 04:02:51 +01:00
remove exit menu item on macos
This commit is contained in:
parent
15cdc2e06d
commit
da6710d61c
@ -156,6 +156,9 @@ module.exports = (app, mainWindow, newVersion) => {
|
|||||||
mainWindow.webContents.send('toggleSettings');
|
mainWindow.webContents.send('toggleSettings');
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
// Due to Apple Review Guidelines, we cannot include an Exit menu item here
|
||||||
|
// Apple has their own Quit from the app menu
|
||||||
|
...(process.platform !== 'darwin' ? [
|
||||||
{ type: 'separator' },
|
{ type: 'separator' },
|
||||||
{
|
{
|
||||||
label: i18n.t('Exit'),
|
label: i18n.t('Exit'),
|
||||||
@ -163,6 +166,7 @@ module.exports = (app, mainWindow, newVersion) => {
|
|||||||
app.quit();
|
app.quit();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
] : []),
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user