Fixed: Updater version number logging

(cherry picked from commit b34f4fde1bbe611bb5c886890e3be7cec2b96e6b)
pull/1545/head
servarr[bot] 3 years ago committed by GitHub
parent 72a0e38b36
commit 8ca35a709c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -24,13 +24,13 @@ namespace NzbDrone.Update.UpdateEngine
{
try
{
var targetExecutable = Path.Combine(targetFolder, BuildInfo.AppName.ProcessNameToExe());
var targetExecutable = Path.Combine(targetFolder, "Readarr.dll");
if (File.Exists(targetExecutable))
{
var versionInfo = System.Diagnostics.FileVersionInfo.GetVersionInfo(targetExecutable);
return versionInfo.FileVersion;
return versionInfo.ProductVersion;
}
}
catch (Exception ex)

Loading…
Cancel
Save