mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 04:42:54 -05:00
Sysinfo doc now live update, improved 2FA backup codes dialog.
This commit is contained in:
@@ -1912,7 +1912,9 @@ function createMeshCore(agent)
|
||||
}
|
||||
case 'sysinfo': { // Return system information
|
||||
getSystemInformation(function (results, err) {
|
||||
if (results == null) { sendConsoleText(err, this.sessionid); } else { sendConsoleText(JSON.stringify(results, null, 1), this.sessionid); }
|
||||
if (results == null) { sendConsoleText(err, this.sessionid); } else {
|
||||
sendConsoleText(JSON.stringify(results, null, 1), this.sessionid);
|
||||
}
|
||||
});
|
||||
break;
|
||||
}
|
||||
|
||||
4
agents/meshcore.min.js
vendored
4
agents/meshcore.min.js
vendored
@@ -1912,7 +1912,9 @@ function createMeshCore(agent)
|
||||
}
|
||||
case 'sysinfo': { // Return system information
|
||||
getSystemInformation(function (results, err) {
|
||||
if (results == null) { sendConsoleText(err, this.sessionid); } else { sendConsoleText(JSON.stringify(results, null, 1), this.sessionid); }
|
||||
if (results == null) { sendConsoleText(err, this.sessionid); } else {
|
||||
sendConsoleText(JSON.stringify(results, null, 1), this.sessionid);
|
||||
}
|
||||
});
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user