Skip to content

Commit

Permalink
Updates the Help menu. (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
skellock committed Aug 16, 2016
1 parent 347faf2 commit 9003fa4
Showing 1 changed file with 7 additions and 37 deletions.
44 changes: 7 additions & 37 deletions packages/reactotron-app/main.development.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ app.on('ready', () => {

if (process.platform === 'darwin') {
template = [{
label: 'Electron',
label: 'Reactotron',
submenu: [{
label: 'About ElectronReact',
label: 'About Reactotron',
selector: 'orderFrontStandardAboutPanel:'
}, {
type: 'separator'
Expand All @@ -46,7 +46,7 @@ app.on('ready', () => {
}, {
type: 'separator'
}, {
label: 'Hide ElectronReact',
label: 'Hide Reactotron',
accelerator: 'Command+H',
selector: 'hide:'
}, {
Expand Down Expand Up @@ -140,24 +140,9 @@ app.on('ready', () => {
}, {
label: 'Help',
submenu: [{
label: 'Learn More',
label: 'Visit on Github',
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')
shell.openExternal('https://github.com/reactotron/reactotron')
}
}]
}]
Expand Down Expand Up @@ -207,24 +192,9 @@ app.on('ready', () => {
}, {
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',
label: 'Visit on Github',
click () {
shell.openExternal('https://github.com/atom/electron/issues')
shell.openExternal('https://github.com/reactotron/reactotron')
}
}]
}]
Expand Down

0 comments on commit 9003fa4

Please sign in to comment.