Add discussions to Help menu

This commit is contained in:
Kevin Sawicki
2014-10-29 09:23:49 -07:00
parent ae2f4ac36e
commit 61f75b0764
2 changed files with 2 additions and 0 deletions

View File

@@ -190,6 +190,7 @@
submenu: [
{ label: 'Terms of Use', command: 'application:open-terms-of-use' }
{ label: 'Documentation', command: 'application:open-documentation' }
{ label: 'Community Discussions', command: 'application:open-discussions' }
{ type: 'separator' }
]
}

View File

@@ -155,6 +155,7 @@ class AtomApplication
atomWindow?.browserWindow.inspectElement(x, y)
@on 'application:open-documentation', -> require('shell').openExternal('https://atom.io/docs/latest/?app')
@on 'application:open-discussions', -> require('shell').openExternal('https://discuss.atom.io')
@on 'application:open-terms-of-use', -> require('shell').openExternal('https://atom.io/terms')
@on 'application:install-update', -> @autoUpdateManager.install()
@on 'application:check-for-update', => @autoUpdateManager.check()