aboutsummaryrefslogtreecommitdiffstats
path: root/src/electron/ipc-api/autoUpdate.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/electron/ipc-api/autoUpdate.js')
-rw-r--r--src/electron/ipc-api/autoUpdate.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/electron/ipc-api/autoUpdate.js b/src/electron/ipc-api/autoUpdate.js
index 603049c4e..5305d5618 100644
--- a/src/electron/ipc-api/autoUpdate.js
+++ b/src/electron/ipc-api/autoUpdate.js
@@ -28,9 +28,10 @@ export default (params) => {
28 } 28 }
29 29
30 if (args.action === 'check') { 30 if (args.action === 'check') {
31 debug('checking for update');
31 autoUpdater.checkForUpdates(); 32 autoUpdater.checkForUpdates();
32 } else if (args.action === 'install') { 33 } else if (args.action === 'install') {
33 debug('install update'); 34 debug('installing update');
34 autoUpdater.quitAndInstall(); 35 autoUpdater.quitAndInstall();
35 // we need to send a quit event 36 // we need to send a quit event
36 setTimeout(() => { 37 setTimeout(() => {