Small changes on the updater #1460 #865

This commit is contained in:
Jamie.Rees 2017-09-05 14:19:06 +01:00
parent 2dd0478ea6
commit f7d67bf26d
11 changed files with 35 additions and 43 deletions

View file

@ -6,9 +6,7 @@ namespace Ombi.Helpers
public static class AssemblyHelper
{
public static string GetRuntimeVersion() =>
Assembly.GetEntryAssembly().GetType()
.GetTypeInfo()
.Assembly
Assembly.GetEntryAssembly()
.GetCustomAttribute<AssemblyInformationalVersionAttribute>()
.InformationalVersion;
}