change docs for uploading mesh agent

This commit is contained in:
wh1te909
2021-09-25 23:45:26 +00:00
parent 43fb09b510
commit d685c4d31c
2 changed files with 3 additions and 18 deletions

View File

@@ -68,10 +68,10 @@ export default function ({ app, router, store }) {
}
else if (error.response.status === 406) {
text = "Missing 64 bit meshagent.exe. Upload it from File > Upload Mesh Agent"
text = "Missing 64 bit meshagent.exe. Upload it from Settings > Global Settings > MeshCentral"
}
else if (error.response.status === 415) {
text = "Missing 32 bit meshagent-x86.exe. Upload it from File > Upload Mesh Agent"
text = "Missing 32 bit meshagent-x86.exe. Upload it from Settings > Global Settings > MeshCentral"
}
if (text || error.response) {

View File

@@ -189,23 +189,8 @@ export default {
link.click();
this.showDLMessage();
})
.catch(e => {
.catch(() => {
this.$q.loading.hide();
let err;
switch (e.response.status) {
case 406:
err = "Missing 64 bit meshagent.exe. Upload it from File > Upload Mesh Agent";
break;
case 415:
err = "Missing 32 bit meshagent-x86.exe. Upload it from File > Upload Mesh Agent";
break;
case 403:
err = "You do not have permissions to perform this action";
break;
default:
err = "Something went wrong";
}
this.notifyError(err, 4000);
});
} else if (this.installMethod === "powershell") {
const psName = `rmm-${clientStripped}-${siteStripped}-${this.agenttype}.ps1`;