Skip to content

Commit

Permalink
Use Arch and Runtime when getting list of update changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Qstick authored and ta264 committed Nov 27, 2020
1 parent 5da0419 commit 0148418
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/NzbDrone.Core/Update/UpdatePackageProvider.cs
Expand Up @@ -62,6 +62,8 @@ public List<UpdatePackage> GetRecentUpdates(string branch, Version currentVersio
.Resource("/update/{branch}/changes")
.AddQueryParam("version", currentVersion)
.AddQueryParam("os", OsInfo.Os.ToString().ToLowerInvariant())
.AddQueryParam("arch", RuntimeInformation.OSArchitecture)
.AddQueryParam("runtime", PlatformInfo.Platform.ToString().ToLowerInvariant())
.AddQueryParam("runtimeVer", _platformInfo.Version)
.SetSegment("branch", branch);

Expand Down

0 comments on commit 0148418

Please sign in to comment.