diff --git a/main.js b/main.js index 3ddff7b..3d0c70b 100644 --- a/main.js +++ b/main.js @@ -352,6 +352,8 @@ autoUpdater.on('checking-for-update', () => { autoUpdater.on('update-available', info => { sendStatusToWindow('Update available.') + console.log(info) + const payloadString = JSON.stringify({ version: info.version, os: process.platform, @@ -363,9 +365,13 @@ autoUpdater.on('update-available', info => { }) autoUpdater.on('update-not-available', info => { sendStatusToWindow('Update not available.') + const payloadString = JSON.stringify({ + version: info.version, + os: process.platform, + }) updaterWindow.webContents.send('updaterMessage', { type: 'availableVersionMessage', - payload: info.version, + payload: payloadString, }) }) autoUpdater.on('error', err => { diff --git a/package.json b/package.json index a18d752..66cdc1e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tile-viewer", - "version": "v0.1.4-beta.3", + "version": "v0.1.5-beta", "description": "Allow easy selection of optical satellite imagery, integration with batch downloader and atmospheric correction.", "license": "MIT", "private": false,