diff --git a/src/config.js b/src/config.js index 722e3e27..73f1db1b 100644 --- a/src/config.js +++ b/src/config.js @@ -73,8 +73,10 @@ module.exports = { GITHUB_URL: 'https://github.com/webtorrent/webtorrent-desktop', GITHUB_URL_ISSUES: 'https://github.com/webtorrent/webtorrent-desktop/issues', GITHUB_URL_RAW: 'https://raw.githubusercontent.com/webtorrent/webtorrent-desktop/master', + GITHUB_URL_RELEASES: 'https://github.com/webtorrent/webtorrent-desktop/releases', HOME_PAGE_URL: 'https://webtorrent.io', + TWITTER_PAGE_URL: 'https://twitter.com/WebTorrentApp', IS_PORTABLE: IS_PORTABLE, IS_PRODUCTION: IS_PRODUCTION, diff --git a/src/main/menu.js b/src/main/menu.js index b9a6f3b4..c93a234f 100644 --- a/src/main/menu.js +++ b/src/main/menu.js @@ -302,6 +302,13 @@ function getMenuTemplate () { shell.openExternal(config.HOME_PAGE_URL) } }, + { + label: 'Release Notes', + click: () => { + const shell = require('./shell') + shell.openExternal(config.GITHUB_URL_RELEASES) + } + }, { label: 'Contribute on GitHub', click: () => { @@ -318,6 +325,13 @@ function getMenuTemplate () { const shell = require('./shell') shell.openExternal(config.GITHUB_URL_ISSUES) } + }, + { + label: 'Follow us on Twitter', + click: () => { + const shell = require('./shell') + shell.openExternal(config.TWITTER_PAGE_URL) + } } ] }