mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-28 08:05:53 -05:00
add application location to info (#5740)
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
ceba76cfde
commit
cd48909dcb
@ -4757,6 +4757,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
|
|||||||
var oldNodeId = db.Get('OldNodeId');
|
var oldNodeId = db.Get('OldNodeId');
|
||||||
if (oldNodeId != null) { response += '\r\nOldNodeID: ' + 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 + '.'; }
|
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 + '.';
|
//response += '\r\Debug Console: ' + debugConsole + '.';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user