From fe02f8981ce313363f89a413f8115974f23fc21c Mon Sep 17 00:00:00 2001 From: ShadyThGod Date: Thu, 21 Mar 2019 21:44:33 +0530 Subject: [PATCH] Update main.js Add "Check For Updates" menu item under "About" section --- src/main.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.js b/src/main.js index bf54025a..096fd36e 100644 --- a/src/main.js +++ b/src/main.js @@ -260,6 +260,12 @@ const template = [{ click() { createWindow('about') } + }, { + label: "Check For Updates", + accelerator: 'CmdOrCtrl+Shift+U', + click() { + mainWindow.webContents.send('check-for-updates', true); + } }, { label: "Links", submenu: [{