From bc3e3714b97dec19091e45324d9f2b550f1dbbd5 Mon Sep 17 00:00:00 2001 From: Robin Dadswell <19610103+RobinDadswell@users.noreply.github.com> Date: Wed, 2 Mar 2022 15:28:32 +0000 Subject: [PATCH] Fixed: Update from version in logs [common] --- src/NzbDrone.Update/UpdateEngine/DetectExistingVersion.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 @@ namespace NzbDrone.Update.UpdateEngine { try { - var targetExecutable = Path.Combine(targetFolder, "Radarr.exe"); + var targetExecutable = Path.Combine(targetFolder, BuildInfo.AppName.ProcessNameToExe()); if (File.Exists(targetExecutable)) {