From 2bf87691bc75e94bb068b87de5e22fc0ff398a43 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 15 Oct 2022 10:15:11 -0500 Subject: [PATCH] Fixed: Updater version number logging --- src/NzbDrone.Update/UpdateEngine/DetectExistingVersion.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Update/UpdateEngine/DetectExistingVersion.cs b/src/NzbDrone.Update/UpdateEngine/DetectExistingVersion.cs index 76d87580d..efbe2fe0a 100644 --- a/src/NzbDrone.Update/UpdateEngine/DetectExistingVersion.cs +++ b/src/NzbDrone.Update/UpdateEngine/DetectExistingVersion.cs @@ -22,13 +22,13 @@ namespace NzbDrone.Update.UpdateEngine { try { - var targetExecutable = Path.Combine(targetFolder, "Sonarr.exe"); + var targetExecutable = Path.Combine(targetFolder, "Sonarr.dll"); if (File.Exists(targetExecutable)) { var versionInfo = System.Diagnostics.FileVersionInfo.GetVersionInfo(targetExecutable); - return versionInfo.FileVersion; + return versionInfo.ProductVersion; } } catch (Exception ex)