From afd20faf9518d2667e691a5ec6b97c3a99aa7105 Mon Sep 17 00:00:00 2001 From: Jack Mallers Date: Thu, 25 Jan 2018 01:27:14 -0600 Subject: [PATCH] fix(menu): fix app menu --- app/menu.js | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/app/menu.js b/app/menu.js index 0b31d242..b71fac01 100644 --- a/app/menu.js +++ b/app/menu.js @@ -47,11 +47,9 @@ export default class MenuBuilder { const subMenuAbout = { label: 'Electron', submenu: [ - { label: 'About ElectronReact', selector: 'orderFrontStandardAboutPanel:' }, + { label: 'About Zap', selector: 'orderFrontStandardAboutPanel:' }, { type: 'separator' }, - { label: 'Services', submenu: [] }, - { type: 'separator' }, - { label: 'Hide ElectronReact', accelerator: 'Command+H', selector: 'hide:' }, + { label: 'Hide Zap', accelerator: 'Command+H', selector: 'hide:' }, { label: 'Hide Others', accelerator: 'Command+Shift+H', selector: 'hideOtherApplications:' }, { label: 'Show All', selector: 'unhideAllApplications:' }, { type: 'separator' }, @@ -104,10 +102,10 @@ export default class MenuBuilder { const subMenuHelp = { label: 'Help', submenu: [ - { label: 'Learn More', click() { shell.openExternal('http://electron.atom.io') } }, - { label: 'Documentation', click() { shell.openExternal('https://github.com/atom/electron/tree/master/docs#readme') } }, - { label: 'Community Discussions', click() { shell.openExternal('https://discuss.atom.io/c/electron') } }, - { label: 'Search Issues', click() { shell.openExternal('https://github.com/atom/electron/issues') } } + { label: 'Learn More', click() { shell.openExternal('https://zap.jackmallers.com/') } }, + { label: 'Documentation', click() { shell.openExternal('https://github.com/LN-Zap/zap-desktop') } }, + { label: 'Community Discussions', click() { shell.openExternal('zaphq.slack.com') } }, + { label: 'Search Issues', click() { shell.openExternal('https://github.com/LN-Zap/zap-desktop/issues') } } ] } @@ -169,22 +167,22 @@ export default class MenuBuilder { submenu: [{ label: 'Learn More', click() { - shell.openExternal('http://electron.atom.io') + shell.openExternal('https://zap.jackmallers.com/') } }, { label: 'Documentation', click() { - shell.openExternal('https://github.com/atom/electron/tree/master/docs#readme') + shell.openExternal('https://github.com/LN-Zap/zap-desktop') } }, { label: 'Community Discussions', click() { - shell.openExternal('https://discuss.atom.io/c/electron') + shell.openExternal('zaphq.slack.com') } }, { label: 'Search Issues', click() { - shell.openExternal('https://github.com/atom/electron/issues') + shell.openExternal('https://github.com/LN-Zap/zap-desktop/issues') } }] }]