add current version to console menu

This commit is contained in:
James B. Pollack 2016-03-10 22:42:53 -08:00
parent a9dd88d834
commit 7ae9006b30

View file

@ -532,10 +532,13 @@ function buildMenuArray(serverState) {
{ {
type: 'separator' type: 'separator'
}, },
{ {
label: 'Quit', label: 'Quit',
accelerator: 'Command+Q', accelerator: 'Command+Q',
click: function() { shutdown(); } click: function() { shutdown(); }
},
{
label: 'Current Version: '+buildInfo.buildIdentifier
} }
]; ];
@ -776,6 +779,7 @@ app.on('ready', function() {
} catch (e) { } catch (e) {
} }
if (currentVersion !== null) { if (currentVersion !== null) {
const CHECK_FOR_UPDATES_INTERVAL_SECONDS = 60 * 30; const CHECK_FOR_UPDATES_INTERVAL_SECONDS = 60 * 30;
var hasShownUpdateNotification = false; var hasShownUpdateNotification = false;