Added mesh agent compile time to details tab.

This commit is contained in:
Ylian Saint-Hilaire 2021-01-26 12:08:17 -08:00
parent 2c632cfcf0
commit dcb5386da6
4 changed files with 1426 additions and 1402 deletions

View File

@ -1293,6 +1293,7 @@ function getSystemInformation(func) {
}
}
}
results.hardware.agentvers = process.versions;
/*
if (process.platform == 'win32') {

File diff suppressed because it is too large Load Diff

View File

@ -4353,6 +4353,14 @@
}
}
}
if (hardware.agentvers != null) {
if (hardware.agentvers.compileTime) {
try {
var d = Date.parse(hardware.agentvers.compileTime)
x += addDetailItem("Compile time", printDateTime(new Date(d)));
} catch (ex) { }
}
}
if (x != '') { sections.push({ name: "Mesh Agent", html: x, img: 'meshagent' }); }
}

View File

@ -9035,6 +9035,14 @@
}
}
}
if (hardware.agentvers != null) {
if (hardware.agentvers.compileTime) {
try {
var d = Date.parse(hardware.agentvers.compileTime)
x += addDetailItem("Compile time", printDateTime(new Date(d)));
} catch (ex) {}
}
}
if (x != '') { sections.push({ name: "Mesh Agent", html: x, img: 'meshagent64.png'}); }
}