Finished the status page #11 and some more work to #12

This commit is contained in:
Jamie Rees 2016-03-15 18:39:43 +00:00
commit 7c8d0b269a
7 changed files with 25 additions and 14 deletions

View file

@ -38,11 +38,11 @@ namespace PlexRequests.Helpers
return fvi.FileVersion;
}
public static string GetReleaseVersion()
public static string GetProductVersion()
{
var assembly = Assembly.GetExecutingAssembly();
var fvi = FileVersionInfo.GetVersionInfo(assembly.Location);
var retVersion = "v" + fvi.FileVersion.Substring(0, fvi.FileVersion.Length - 2);
var retVersion = fvi.ProductVersion;
return retVersion;
}
}