Skip to content

Commit

Permalink
Add help menu on windows and linux to add remove app data feature
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbrazier authored Sep 7, 2017
1 parent 10261e0 commit 4fa166e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
11 changes: 4 additions & 7 deletions src/scripts/menus.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,13 @@ const menuTemplate = [
id: 'window',
role: 'window',
submenu: windowMenu
}
];

if (isMac) {
menuTemplate.push({
},
{
label: 'Help',
role: 'help',
submenu: helpMenu
});
}
}
];

function createMenu () {
const menu = Menu.buildFromTemplate(menuTemplate);
Expand Down
1 change: 0 additions & 1 deletion src/scripts/menus/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const helpTemplate = [
{
label: 'Learn More',
click: () => remote.shell.openExternal('https://rocket.chat')

}
];

Expand Down

0 comments on commit 4fa166e

Please sign in to comment.