Fixed: Updater version number logging

This commit is contained in:
Qstick 2022-10-15 10:15:11 -05:00
parent 9458f4c796
commit 2bf87691bc
1 changed files with 2 additions and 2 deletions

View File

@ -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)