diff --git a/src/main/menus/app.js b/src/main/menus/app.js index eec6037e..35795df3 100644 --- a/src/main/menus/app.js +++ b/src/main/menus/app.js @@ -3,7 +3,7 @@ // See LICENSE.txt for license information. 'use strict'; -import {app, dialog, Menu, shell} from 'electron'; +import {app, dialog, ipcMain, Menu, shell} from 'electron'; import settings from '../../common/settings'; import buildConfig from '../../common/config/buildConfig'; @@ -230,6 +230,16 @@ function createTemplate(mainWindow, config, isDev) { submenu.push({ label: `Version ${app.getVersion()}`, enabled: false, + }, { + type: 'separator', + }, { + label: `Version ${app.getVersion()}`, + enabled: false, + }, { + label: 'Check for Updates...', + click() { + ipcMain.emit('check-for-updates'); + }, }); template.push({label: '&Help', submenu}); return template;