mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 19:22:57 +02:00
add current version to console menu
This commit is contained in:
parent
a9dd88d834
commit
7ae9006b30
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue