diff --git a/electron/menu.js b/electron/menu.js index da6aa85f..033d481c 100644 --- a/electron/menu.js +++ b/electron/menu.js @@ -221,6 +221,7 @@ module.exports = function(config) { }, { label: locale['menu.help[5]'], + visible: process.argv.indexOf('--without-update') === -1, click(item, win) { const webContents = win.webContents; const send = webContents.send.bind(win.webContents); @@ -291,6 +292,7 @@ module.exports = function(config) { }); helpSubmenu.push({ label: `&`+locale['menu.help[5]'], + visible: process.argv.indexOf('--without-update') === -1, click(item, win) { const webContents = win.webContents; const send = webContents.send.bind(win.webContents);