mirror of https://github.com/Jackett/Jackett
Updater: Use Product Version (#2094)
This commit is contained in:
parent
ed0dbf4f18
commit
2209ab226c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue