mirror of https://github.com/docker/docs.git
Fixing exception popup when auto update fails.
This commit is contained in:
parent
2e7845d169
commit
b746215980
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') {
|
||||
|
|
Loading…
Reference in New Issue