diff --git a/src/NzbDrone.Update/UpdateEngine/DetectExistingVersion.cs b/src/NzbDrone.Update/UpdateEngine/DetectExistingVersion.cs index 2494e43bc..4397469ca 100644 --- a/src/NzbDrone.Update/UpdateEngine/DetectExistingVersion.cs +++ b/src/NzbDrone.Update/UpdateEngine/DetectExistingVersion.cs @@ -1,6 +1,8 @@ using System; using System.IO; using NLog; +using NzbDrone.Common.EnvironmentInfo; +using NzbDrone.Common.Extensions; namespace NzbDrone.Update.UpdateEngine { @@ -22,7 +24,7 @@ public string GetExistingVersion(string targetFolder) { try { - var targetExecutable = Path.Combine(targetFolder, "Radarr.exe"); + var targetExecutable = Path.Combine(targetFolder, BuildInfo.AppName.ProcessNameToExe()); if (File.Exists(targetExecutable)) {