Fix for agent download links (#4351)

This commit is contained in:
Ylian Saint-Hilaire 2022-08-01 09:45:41 -07:00
parent 64ed0e8ca7
commit 9b69b9949d
2 changed files with 8 additions and 5 deletions

View File

@ -91,7 +91,7 @@
<h3>Microsoft&trade; Windows 64bit</h3>
<p><a id="win64url">Download the software here</a>, run it and press "Install" or "Connect".</p>
<div style="text-align:center">
<a id="win64url"><img class="winagent-img" src="images/winagent.png" /></a>
<a id="win64url2"><img class="winagent-img" src="images/winagent.png" /></a>
</div>
</div>
@ -99,7 +99,7 @@
<h3>Microsoft&trade; Windows 32bit</h3>
<p><a id="win32url">Download the software here</a>, run it and press "Install" or "Connect".</p>
<div style="text-align:center">
<a id="win32url"><img class="winagent-img" src="images/winagent.png" /></a>
<a id="win32url2"><img class="winagent-img" src="images/winagent.png" /></a>
</div>
</div>
@ -118,7 +118,7 @@
<h3>Apple&trade; MacOS</h3>
<p><a id="macosurl">Download the installer here</a>, right click on it or press "control" and click on the file. Then select "Open" and follow the instructions.</p>
<div style="text-align:center">
<a id="macosurl"><img src="images/macosagent.png" /></a>
<a id="macosurl2"><img src="images/macosagent.png" /></a>
</div>
</div>
@ -347,15 +347,18 @@
var url = 'meshagents?id=4&meshid=' + meshid;
if (installFlags != 0) { url += ('&installflags=' + installFlags); }
Q('win64url').href = url;
Q('win64url2').href = url;
// Windows 32bit Setup
url = 'meshagents?id=3&meshid=' + meshid;
if (installFlags != 0) { url += ('&installflags=' + installFlags); }
Q('win32url').href = url;
Q('win32url2').href = url;
// MacOS Setup
url = 'meshosxagent?id=16&meshid=' + meshid;
Q('macosurl').href = url;
Q('macosurl2').href = url;
// Linux Setup
if (serverHttps == 1) {