mirror of
https://github.com/docker/docs.git
synced 2026-11-05 00:14:17 +03:00
Fixing exception popup when auto update fails.
This commit is contained in:
5
index.js
5
index.js
@@ -178,6 +178,11 @@ app.on('ready', function() {
|
||||
mainWindow.webContents.send('notify', 'window:update-available');
|
||||
});
|
||||
|
||||
autoUpdater.on('error', function (e) {
|
||||
console.log('An error occured while checking for updates.');
|
||||
console.log(e);
|
||||
});
|
||||
|
||||
ipc.on('command', function (event, arg) {
|
||||
console.log('Command: ' + arg);
|
||||
if (arg === 'application:quit-install') {
|
||||
|
||||
Reference in New Issue
Block a user