1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-02-12 11:01:52 +00:00

add application location to info (#5740)

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
Simon Smith 2024-01-26 14:59:34 +00:00 committed by GitHub
parent ceba76cfde
commit cd48909dcb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4757,6 +4757,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
var oldNodeId = db.Get('OldNodeId');
if (oldNodeId != null) { response += '\r\nOldNodeID: ' + oldNodeId + '.'; }
if (process.platform == 'linux' || process.platform == 'freebsd') { response += '\r\nX11 support: ' + require('monitor-info').kvm_x11_support + '.'; }
response += '\r\nApplication Location: ' + process.cwd();
//response += '\r\Debug Console: ' + debugConsole + '.';
break;
}