Skip to content

Commit 24759ce

Browse files
authored
Merge pull request #912 from immense/fix-linux-update-url
Fix Linux update URL.
2 parents 5c2085f + 18144c9 commit 24759ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Agent/Services/Linux/UpdaterLinux.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public async Task InstallLatestVersion()
151151
}
152152

153153
await _updateDownloader.DownloadFile(
154-
$"{serverUrl}/API/ClientDownloads/{connectionInfo.OrganizationID}/{platform}",
154+
$"{serverUrl}/API/ClientDownloads/{platform}/{connectionInfo.OrganizationID}",
155155
installerPath);
156156

157157
await _updateDownloader.DownloadFile(

Agent/Services/MacOS/UpdaterMac.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public async Task InstallLatestVersion()
137137
var installerPath = Path.Combine(Path.GetTempPath(), "RemotelyUpdate.sh");
138138

139139
await _updateDownloader.DownloadFile(
140-
$"{serverUrl}/API/ClientDownloads/{connectionInfo.OrganizationID}/MacOSInstaller-{_achitecture}",
140+
$"{serverUrl}/API/ClientDownloads/MacOSInstaller-{_achitecture}/{connectionInfo.OrganizationID}",
141141
installerPath);
142142

143143
await _updateDownloader.DownloadFile(

0 commit comments

Comments
 (0)