From 8f20dc93697ff020e3d2734805f1bfb2b20fd8c3 Mon Sep 17 00:00:00 2001 From: Ramiro Saenz Date: Wed, 6 Jul 2016 11:38:57 -0300 Subject: [PATCH] Added Facebook, Twitter, GitHub and Donate options in menu bar. --- electron/menu.js | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/electron/menu.js b/electron/menu.js index 6f7dc1df..0ef0863a 100644 --- a/electron/menu.js +++ b/electron/menu.js @@ -23,6 +23,27 @@ const helpSubmenu = [ shell.openExternal('http://rambox.pro'); } }, + { + label: `Facebook`, + click() { + shell.openExternal('https://www.facebook.com/ramboxapp'); + } + }, + { + label: `Twitter`, + click() { + shell.openExternal('https://www.twitter.com/ramboxapp'); + } + }, + { + label: `GitHub`, + click() { + shell.openExternal('https://www.github.com/saenzramiro/rambox'); + } + }, + { + type: 'separator' + }, { label: 'Report an Issue...', click() { @@ -45,6 +66,15 @@ const helpSubmenu = [ click() { shell.openExternal('https://gitter.im/saenzramiro/rambox'); } + }, + { + type: 'separator' + }, + { + label: `Donate`, + click() { + shell.openExternal('https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WU75QWS7LH2CA'); + } } ];