Show visible error when updater call fails (#5455)
* Show visible error when updater call fails due to permissions issue Fixes #3696 * Update comment for consistency
This commit is contained in:
@ -396,8 +396,8 @@ app.on('ready', () => {
|
||||
}, fifteenMinutes)
|
||||
|
||||
autoUpdater.on('error', (error) => {
|
||||
console.error('updater-error', error)
|
||||
mainWindow?.webContents.send('updater-error', error)
|
||||
console.error('update-error', error)
|
||||
mainWindow?.webContents.send('update-error', error)
|
||||
})
|
||||
|
||||
autoUpdater.on('update-available', (info) => {
|
||||
|
Reference in New Issue
Block a user