Skip to content

Commit

Permalink
Merge pull request #912 from immense/fix-linux-update-url
Browse files Browse the repository at this point in the history
Fix Linux update URL.
  • Loading branch information
bitbound authored Jul 16, 2024
2 parents 5c2085f + 18144c9 commit 24759ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Agent/Services/Linux/UpdaterLinux.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion Agent/Services/MacOS/UpdaterMac.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 24759ce

Please sign in to comment.