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:
parent
40abf105ab
commit
156f22e50d
5 changed files with 38 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue