aboutsummaryrefslogtreecommitdiffstats
path: root/src/electron/ipc-api
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-07-18 13:51:51 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-07-18 13:51:51 +0530
commit4fc60686403d380c8f3d93a9dd98b9f7d6b9d6de (patch)
tree35577dc6e4e1ade94c7829f0f449e02644fd9c73 /src/electron/ipc-api
parentFixed issue with error hiding version bump. (diff)
downloadferdium-app-4fc60686403d380c8f3d93a9dd98b9f7d6b9d6de.tar.gz
ferdium-app-4fc60686403d380c8f3d93a9dd98b9f7d6b9d6de.tar.zst
ferdium-app-4fc60686403d380c8f3d93a9dd98b9f7d6b9d6de.zip
Added debug logs for auto-updater. [skip ci]
Diffstat (limited to 'src/electron/ipc-api')
-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(() => {