From b50c5386a6b7651de7d33062a4d2eebb6a54464a Mon Sep 17 00:00:00 2001 From: Junyoung Choi Date: Mon, 20 Jul 2020 21:06:55 +0900 Subject: [PATCH] Add BoostHub link to menu --- lib/main-menu.js | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/lib/main-menu.js b/lib/main-menu.js index 0c91cf1f..4d91f55f 100644 --- a/lib/main-menu.js +++ b/lib/main-menu.js @@ -472,9 +472,21 @@ const help = { ] } +const team = { + label: 'For Team', + submenu: [ + { + label: 'BoostHub', + click: async () => { + shell.openExternal('https://boosthub.io/') + } + } + ] +} + module.exports = process.platform === 'darwin' - ? [boost, file, edit, view, window, help] + ? [boost, file, edit, view, window, team, help] : process.platform === 'win32' - ? [boost, file, view, help] - : [file, view, help] + ? [boost, file, view, team, help] + : [file, view, team, help]