diff --git a/agents/MeshCentralAssistant.exe b/agents/MeshCentralAssistant.exe index 6de35349..4ac2b508 100644 Binary files a/agents/MeshCentralAssistant.exe and b/agents/MeshCentralAssistant.exe differ diff --git a/meshagent.js b/meshagent.js index af809803..6ff541c7 100644 --- a/meshagent.js +++ b/meshagent.js @@ -1499,6 +1499,7 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) { var info = parent.parent.meshToolsBinaries[command.name]; if ((command.hash != null) && (info.hash == command.hash)) return; const responseCmd = { action: 'meshToolInfo', name: command.name, tag: command.tag, sessionid: command.sessionid, hash: info.hash, size: info.size, url: info.url }; + if ((command.name == 'MeshCentralAssistant') && (command.msh == true)) { responseCmd.url = "*/meshagents?id=10006"; } // If this is Assistant and the MSH needs to be included in the executable, change the URL. if (command.cookie === true) { responseCmd.url += ('&auth=' + parent.parent.encodeCookie({ download: info.dlname }, parent.parent.loginCookieEncryptionKey)); } if (command.pipe === true) { responseCmd.pipe = true; } if (parent.webCertificateHashs[domain.id] != null) { responseCmd.serverhash = Buffer.from(parent.webCertificateHashs[domain.id], 'binary').toString('hex'); } diff --git a/meshcentral-config-schema.json b/meshcentral-config-schema.json index e7c5a837..ece09e22 100644 --- a/meshcentral-config-schema.json +++ b/meshcentral-config-schema.json @@ -452,7 +452,8 @@ "description": "Use this section to customize the MeshCentral Assistant.", "properties": { "title": { "type": "string", "default": "MeshCentral Assistant", "description": "Name to show as MeshCentral Assistant dialog title." }, - "image": { "type": "string", "default": null, "description": "The filename of a image file in .png format located in meshcentral-data to display in MeshCentral Assistant, image should be square and from 64x64 to 128x128." } + "image": { "type": "string", "default": null, "description": "The filename of a image file in .png format located in meshcentral-data to display in MeshCentral Assistant, image should be square and from 64x64 to 128x128." }, + "fileName": { "type": "string", "default": "meshagent", "description": "The MeshCentral Assistant filename." } } }, "userAllowedIP": { "type": "string" }, diff --git a/views/default.handlebars b/views/default.handlebars index 2a507f61..824ec9d1 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -4757,7 +4757,7 @@ x += ''; // MeshCentral Assistant - x += '