1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-02 21:26:08 +00:00

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

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)