mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01: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'
|
||||
},
|
||||
{
|
||||
{
|
||||
label: 'Quit',
|
||||
accelerator: 'Command+Q',
|
||||
click: function() { shutdown(); }
|
||||
},
|
||||
{
|
||||
label: 'Current Version: '+buildInfo.buildIdentifier
|
||||
}
|
||||
];
|
||||
|
||||
|
@ -776,6 +779,7 @@ app.on('ready', function() {
|
|||
} catch (e) {
|
||||
}
|
||||
|
||||
|
||||
if (currentVersion !== null) {
|
||||
const CHECK_FOR_UPDATES_INTERVAL_SECONDS = 60 * 30;
|
||||
var hasShownUpdateNotification = false;
|
||||
|
|
Loading…
Reference in a new issue