diff --git a/console/resources/console-notification-win.png b/console/resources/console-notification-win.png new file mode 100644 index 0000000000..0fd22b8900 Binary files /dev/null and b/console/resources/console-notification-win.png differ diff --git a/console/src/main.js b/console/src/main.js index 6d9d370986..89981f5f57 100644 --- a/console/src/main.js +++ b/console/src/main.js @@ -552,6 +552,8 @@ function detectExistingStackManagerResources() { const trayFilename = (osType == "Darwin" ? "console-tray-Template.png" : "console-tray.png"); const trayIcon = path.join(__dirname, '../resources/' + trayFilename); +const notificationIcon = path.join(__dirname, '../resources/console-notification-win.png'); + // This method will be called when Electron has finished // initialization and is ready to create browser windows. app.on('ready', function() { @@ -574,6 +576,13 @@ app.on('ready', function() { maybeInstallDefaultContentSet(function() { maybeShowSplash(); + console.log(notificationIcon); + notifier.notify({ + icon: notificationIcon, + title: 'An update is available!', + message: 'High Fidelity version ' + 4 + ' is available', + wait: true + }); if (buildInfo.releaseType == 'PRODUCTION') { var currentVersion = null; try { @@ -588,7 +597,7 @@ app.on('ready', function() { updateChecker.on('update-available', function(latestVersion, url) { if (!hasShownUpdateNotification) { notifier.notify({ - icon: trayIcon, + icon: notificationIcon, title: 'An update is available!', message: 'High Fidelity version ' + latestVersion + ' is available', wait: true,