make filename consistent with deployment exe

This commit is contained in:
wh1te909
2022-07-03 04:50:00 +00:00
parent 974ba53926
commit c279a44679

View File

@@ -249,10 +249,7 @@ export default {
.toLowerCase()
.replace(/([^a-zA-Z0-9]+)/g, "");
const fileName =
this.goarch === GOARCH_AMD64
? `rmm-${clientStripped}-${siteStripped}-${this.agenttype}.exe`
: `rmm-${clientStripped}-${siteStripped}-${this.agenttype}-x86.exe`;
const fileName = `trmm-${clientStripped}-${siteStripped}-${this.agenttype}-${this.goarch}.exe`;
const data = {
installMethod: this.installMethod,