mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-14 20:11:52 +00:00
add application location to info (#5740)
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
ceba76cfde
commit
cd48909dcb
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue