mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added agent translations to .msh file.
This commit is contained in:
parent
fc432430f6
commit
ae6c7fa0ec
3 changed files with 7 additions and 1 deletions
|
@ -1379,6 +1379,9 @@ function CreateMeshCentralServer(config, args) {
|
|||
// Load the list of MeshCentral tools
|
||||
obj.updateMeshTools();
|
||||
|
||||
// Load MeshAgent translation strings
|
||||
try { obj.agentTranslations = JSON.stringify(JSON.parse(obj.fs.readFileSync(obj.path.join(__dirname, 'agents', 'agent-translations.json')).toString())); } catch (ex) { }
|
||||
|
||||
// Load the list of mesh agents and install scripts
|
||||
if (obj.args.noagentupdate == 1) { for (i in obj.meshAgentsArchitectureNumbers) { obj.meshAgentsArchitectureNumbers[i].update = false; } }
|
||||
obj.updateMeshAgentsTable(function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue