[MM-18551] Remove (auto)updater from v4.3 (#1035)
* remove (auto)updater from v4.3
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
// See LICENSE.txt for license information.
|
||||
'use strict';
|
||||
|
||||
import {app, dialog, ipcMain, Menu, shell} from 'electron';
|
||||
import {app, dialog, Menu, shell} from 'electron';
|
||||
|
||||
function createTemplate(mainWindow, config, isDev) {
|
||||
const settingsURL = isDev ? 'http://localhost:8080/browser/settings.html' : `file://${app.getAppPath()}/browser/settings.html`;
|
||||
@@ -236,14 +236,7 @@ function createTemplate(mainWindow, config, isDev) {
|
||||
label: `Version ${app.getVersion()}`,
|
||||
enabled: false,
|
||||
});
|
||||
if (config.enableAutoUpdater) {
|
||||
submenu.push({
|
||||
label: 'Check for Updates...',
|
||||
click() {
|
||||
ipcMain.emit('check-for-updates', true);
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
template.push({label: '&Help', submenu});
|
||||
return template;
|
||||
}
|
||||
|
Reference in New Issue
Block a user