Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
Add "Check For Updates" menu item under "About" section
  • Loading branch information
amanharwara committed Mar 21, 2019
1 parent 096492d commit fe02f89
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [{
Expand Down

0 comments on commit fe02f89

Please sign in to comment.