Fixed: Update from version in logs

Closes #873
Closes #877

(cherry picked from commit bc3e3714b97dec19091e45324d9f2b550f1dbbd5)
(cherry picked from commit b34f4fde1bbe611bb5c886890e3be7cec2b96e6b)
pull/921/head
Robin Dadswell 3 years ago committed by Qstick
parent 32fc2ec365
commit 6ce9c779c1

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

Loading…
Cancel
Save