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

Added tiny core support.

This commit is contained in:
Ylian Saint-Hilaire 2021-01-24 18:43:15 -08:00
parent bbcda31008
commit 70b53b0f1c
7 changed files with 1225 additions and 1191 deletions

View file

@ -4006,6 +4006,9 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
} else if (command.type == 'recovery') {
// Send the recovery core to the agent
parent.sendMeshAgentCore(user, domain, node._id, 'recovery');
} else if (command.type == 'tiny') {
// Send the tiny core to the agent
parent.sendMeshAgentCore(user, domain, node._id, 'tiny');
} else if ((command.type == 'custom') && (common.validateString(command.path, 1, 2048) == true)) {
// Send a mesh agent core to the mesh agent
var file = parent.getServerFilePath(user, domain, command.path);