diff options
author | Vijay A <avijayr@protonmail.com> | 2021-07-18 20:33:26 +0530 |
---|---|---|
committer | Vijay A <avijayr@protonmail.com> | 2021-07-18 20:33:26 +0530 |
commit | 137c1016fd944ad7b3081adccc5bcea2921a8e30 (patch) | |
tree | e20dcc37b4ade9bf382f9b4e80e9198a327f6ea0 /src/electron | |
parent | Bumped up beta version to: 5.6.0-beta8 (diff) | |
parent | 5.6.0-nightly.89 (diff) | |
download | ferdium-app-137c1016fd944ad7b3081adccc5bcea2921a8e30.tar.gz ferdium-app-137c1016fd944ad7b3081adccc5bcea2921a8e30.tar.zst ferdium-app-137c1016fd944ad7b3081adccc5bcea2921a8e30.zip |
Merge remote-tracking branch 'origin/nightly' into release
Diffstat (limited to 'src/electron')
-rw-r--r-- | src/electron/ipc-api/autoUpdate.js | 3 |
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(() => { |