From 9a8bfdfa0163968a8b5081333b6fde5f5a342d1b Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Tue, 17 May 2022 16:17:49 -0700 Subject: [PATCH] Fixed undefined agent in install dialog. --- meshcentral.js | 4 ++-- views/default.handlebars | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meshcentral.js b/meshcentral.js index 501bf03e..a59dc6bf 100644 --- a/meshcentral.js +++ b/meshcentral.js @@ -2693,8 +2693,8 @@ function CreateMeshCentralServer(config, args) { // List of possible mesh agent install scripts const meshToolsList = { 'MeshCentralRouter': { localname: 'MeshCentralRouter.exe', dlname: 'winrouter' }, - 'MeshCentralAssistant': { localname: 'MeshCentralAssistant.exe', dlname: 'winassistant', winhash: true }, - 'MeshCentralRouterMacOS': { localname: 'MeshCentralRouter.dmg', dlname: 'MeshCentralRouter.dmg' } + 'MeshCentralAssistant': { localname: 'MeshCentralAssistant.exe', dlname: 'winassistant', winhash: true } + //'MeshCentralRouterMacOS': { localname: 'MeshCentralRouter.dmg', dlname: 'MeshCentralRouter.dmg' } }; // Update the list of available mesh agents diff --git a/views/default.handlebars b/views/default.handlebars index 6e5a0798..0028b6a0 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -5132,7 +5132,7 @@ if (serverinfo.https == true) { portStr = (serverinfo.port == 443)?'':(':' + serverinfo.port); } else { portStr = (serverinfo.port == 80) ? '' : (':' + serverinfo.port); } // Add Linux/macOS binary installer option - var binaryInstallAgentsOrder = [ 6, 5, 10005, 25, 26, 28, 30, 32, 37, 47, 40, 41 ]; + var binaryInstallAgentsOrder = [ 6, 5, 10005, 25, 26, 28, 30, 32, 37, 40, 41 ]; var binaryInstallAgents = { 5 : 'Linux x86-32', 6 : 'Linux x86-64', 10005 : 'Apple OSX Universal', 25 : 'Linux ARM-HF, Rasberry Pi', 26 : 'Linux ARM64-HF', 28: 'Linux MIPS24KC (OpenWRT)', 30 : 'FreeBSD x86-64', 32: 'Linux ARM 64 bit (glibc/2.24 NOKVM)', 36: 'OpenWRT x86-64', 37: 'OpenBSD x86-64', 40: 'Linux MIPSEL24KC (OpenWRT)', 41: 'ARMADA/CORTEX-A53/MUSL (OpenWRT)' }; for (var i in binaryInstallAgentsOrder) { moreoptions += '' } x += '
';