The swiss army knife of lossless video/audio editing
remove exit menu item on macos
Mikael Finstadda6710d61c61
diff --git a/public/menu.js b/public/menu.jsindex 5e9fb42e..94dec5fd 100644--- a/public/menu.js+++ b/public/menu.js@@ -156,13 +156,17 @@ module.exports = (app, mainWindow, newVersion) => {mainWindow.webContents.send('toggleSettings');},},- { type: 'separator' },- {- label: i18n.t('Exit'),- click() {- app.quit();+ // 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' },+ {+ label: i18n.t('Exit'),+ click() {+ app.quit();+ },},- },+ ] : []),],},