Version information in About dialog

This commit is contained in:
leo 2020-07-06 09:18:06 +08:00
parent 41a5ac2dc8
commit afd22ca85d

View file

@ -1,4 +1,4 @@
using System.Diagnostics; using System.Diagnostics;
using System.Reflection; using System.Reflection;
using System.Windows; using System.Windows;
using System.Windows.Navigation; using System.Windows.Navigation;
@ -15,7 +15,7 @@ namespace SourceGit.UI {
/// </summary> /// </summary>
public string Version { public string Version {
get { get {
return FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location).FileVersion; return "VERSION : " + FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location).FileVersion;
} }
} }