aboutsummaryrefslogtreecommitdiffstats
path: root/src/electron
diff options
context:
space:
mode:
authorLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-04-12 17:18:19 +0200
committerLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-04-12 17:18:19 +0200
commit9620db3443c70d6f92b55725ed07a17adda8cea4 (patch)
tree2819bbbfedbd9842a1a7fd8249d123224445139f /src/electron
parentcleanup console log artifacts (diff)
downloadferdium-app-9620db3443c70d6f92b55725ed07a17adda8cea4.tar.gz
ferdium-app-9620db3443c70d6f92b55725ed07a17adda8cea4.tar.zst
ferdium-app-9620db3443c70d6f92b55725ed07a17adda8cea4.zip
link to in-app changelog on new update notification
Diffstat (limited to 'src/electron')
-rw-r--r--src/electron/ipc-api/autoUpdate.js7
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) => {