diff --git a/Agent/Services/Linux/UpdaterLinux.cs b/Agent/Services/Linux/UpdaterLinux.cs index 88262c949..dad3ba231 100644 --- a/Agent/Services/Linux/UpdaterLinux.cs +++ b/Agent/Services/Linux/UpdaterLinux.cs @@ -151,7 +151,7 @@ public async Task InstallLatestVersion() } await _updateDownloader.DownloadFile( - $"{serverUrl}/API/ClientDownloads/{connectionInfo.OrganizationID}/{platform}", + $"{serverUrl}/API/ClientDownloads/{platform}/{connectionInfo.OrganizationID}", installerPath); await _updateDownloader.DownloadFile( diff --git a/Agent/Services/MacOS/UpdaterMac.cs b/Agent/Services/MacOS/UpdaterMac.cs index a131efb26..05397e7b5 100644 --- a/Agent/Services/MacOS/UpdaterMac.cs +++ b/Agent/Services/MacOS/UpdaterMac.cs @@ -137,7 +137,7 @@ public async Task InstallLatestVersion() var installerPath = Path.Combine(Path.GetTempPath(), "RemotelyUpdate.sh"); await _updateDownloader.DownloadFile( - $"{serverUrl}/API/ClientDownloads/{connectionInfo.OrganizationID}/MacOSInstaller-{_achitecture}", + $"{serverUrl}/API/ClientDownloads/MacOSInstaller-{_achitecture}/{connectionInfo.OrganizationID}", installerPath); await _updateDownloader.DownloadFile(