From 0148418732587d42217f588a333e1a7468a2b859 Mon Sep 17 00:00:00 2001 From: Qstick Date: Thu, 26 Nov 2020 21:05:11 +0000 Subject: [PATCH] Use Arch and Runtime when getting list of update changes --- src/NzbDrone.Core/Update/UpdatePackageProvider.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NzbDrone.Core/Update/UpdatePackageProvider.cs b/src/NzbDrone.Core/Update/UpdatePackageProvider.cs index 01ff9ffb4..2f51e3f4a 100644 --- a/src/NzbDrone.Core/Update/UpdatePackageProvider.cs +++ b/src/NzbDrone.Core/Update/UpdatePackageProvider.cs @@ -62,6 +62,8 @@ namespace NzbDrone.Core.Update .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);