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;
}