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

View File

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