mirror of
https://github.com/jpros/tacticalrmm-web.git
synced 2026-01-20 03:50:21 +00:00
change docs for uploading mesh agent
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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`;
|
||||
|
||||
Reference in New Issue
Block a user