1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Updated metadata and modified amt-lme to hook newListener for 'connect' because JS HECI is much faster than old implementation

This commit is contained in:
Bryan Roe 2020-05-28 13:30:28 -07:00
parent 40abf105ab
commit 156f22e50d
5 changed files with 38 additions and 8 deletions

View file

@ -173,6 +173,12 @@ function createMeshCore(agent) {
case 'connection':
data.result = require('MeshAgent').ConnectedServer;
this._send(data);
case 'descriptors':
require('ChainViewer').getSnapshot().then(function (f)
{
this.tag.payload.result = f;
this.tag.ipc._send(this.tag.payload);
}).parentPromise.tag = { ipc: this, payload: data };
break;
}
break;