Tweak auto-updater flow
This commit is contained in:
@@ -230,15 +230,10 @@ 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');
|
||||
ipcMain.emit('check-for-updates', true);
|
||||
},
|
||||
});
|
||||
template.push({label: '&Help', submenu});
|
||||
|
Reference in New Issue
Block a user