Updater: Use Product Version (#2094)

This commit is contained in:
flightlevel 2017-11-08 19:53:00 +11:00 committed by GitHub
parent ed0dbf4f18
commit 2209ab226c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ namespace Jackett.Services
{
var assembly = System.Reflection.Assembly.GetExecutingAssembly();
var fvi = FileVersionInfo.GetVersionInfo(assembly.Location);
return fvi.FileVersion;
return fvi.ProductVersion;
}
private WebRequest SetDownloadHeaders(WebRequest req)