mirror of
https://github.com/Radarr/Radarr
synced 2024-12-25 01:11:43 +00:00
Use Arch and Runtime when getting list of update changes
This commit is contained in:
parent
0b5a40a2b7
commit
f9242af246
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue