diff options
author | 2019-04-13 20:58:37 +0200 | |
---|---|---|
committer | 2019-04-13 20:58:37 +0200 | |
commit | 8e623e84cf21068561217a509c0761d524dfbc29 (patch) | |
tree | a83f307c3ce087169e3a1d55418fa78a71b7b4dc /src/electron/ipc-api | |
parent | Use store reactions (diff) | |
parent | Merge branch 'feature/announcements' into develop (diff) | |
download | ferdium-app-8e623e84cf21068561217a509c0761d524dfbc29.tar.gz ferdium-app-8e623e84cf21068561217a509c0761d524dfbc29.tar.zst ferdium-app-8e623e84cf21068561217a509c0761d524dfbc29.zip |
Merge branch 'develop' into chore/streamline-dashboard
Diffstat (limited to 'src/electron/ipc-api')
-rw-r--r-- | src/electron/ipc-api/autoUpdate.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/electron/ipc-api/autoUpdate.js b/src/electron/ipc-api/autoUpdate.js index 74b718734..9a04c1958 100644 --- a/src/electron/ipc-api/autoUpdate.js +++ b/src/electron/ipc-api/autoUpdate.js | |||
@@ -30,9 +30,12 @@ export default (params) => { | |||
30 | params.mainWindow.webContents.send('autoUpdate', { available: false }); | 30 | params.mainWindow.webContents.send('autoUpdate', { available: false }); |
31 | }); | 31 | }); |
32 | 32 | ||
33 | autoUpdater.on('update-available', () => { | 33 | autoUpdater.on('update-available', (event) => { |
34 | debug('update-available'); | 34 | debug('update-available'); |
35 | params.mainWindow.webContents.send('autoUpdate', { available: true }); | 35 | params.mainWindow.webContents.send('autoUpdate', { |
36 | version: event.version, | ||
37 | available: true, | ||
38 | }); | ||
36 | }); | 39 | }); |
37 | 40 | ||
38 | autoUpdater.on('download-progress', (progressObj) => { | 41 | autoUpdater.on('download-progress', (progressObj) => { |