mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-22 12:52:50 +03:00
Added mesh agent compile time to details tab.
This commit is contained in:
parent
2c632cfcf0
commit
dcb5386da6
@ -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
@ -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' }); }
|
||||
}
|
||||
|
||||
|
@ -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'}); }
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user