mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-10 05:59:40 -05: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user