mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
New agents, NeDB encryption, WebApp Fixes.
This commit is contained in:
parent
35e8f9b94a
commit
110b58cd58
35 changed files with 90 additions and 7437 deletions
|
@ -653,7 +653,7 @@ function UserSessions()
|
|||
}
|
||||
this.consoleUid = function consoleUid()
|
||||
{
|
||||
var checkstr = process.platform == 'darwin' ? 'console' : process.env['DISPLAY'];
|
||||
var checkstr = process.platform == 'darwin' ? 'console' : ((process.env['DISPLAY'])?process.env['DISPLAY']:':0')
|
||||
var child = require('child_process').execFile('/bin/sh', ['sh']);
|
||||
child.stdout.str = '';
|
||||
child.stdout.on('data', function (chunk) { this.str += chunk.toString(); });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue