From 28aeb18f75e3d45c689f141e9b77b7935ec5a248 Mon Sep 17 00:00:00 2001 From: Tom Francis Date: Wed, 31 Jul 2019 09:28:56 -0400 Subject: [PATCH] Fixed #27 Added code to pull in the official Ketarin version number automatically. As long as Properties/AssemblyInfo.cs gets updates to AssemblyVersion and AssemblyFileVersion from the main Ketarin github repo, this information should be correct. --- Forms/AboutDialog.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Forms/AboutDialog.cs b/Forms/AboutDialog.cs index 7170d09..8ad4968 100644 --- a/Forms/AboutDialog.cs +++ b/Forms/AboutDialog.cs @@ -21,7 +21,7 @@ protected override void OnLoad(EventArgs e) { base.OnLoad(e); - lblVersion.Text = Application.ProductVersion; + lblVersion.Text = Application.ProductVersion + " (based on official Ketarin " + System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly().Location).FileVersion + ")"; lblDatabasePath.Text = Utility.CompactString(DbManager.DatabasePath, Width - 170, Font, ""); lblDatabasePath.Url = Path.GetDirectoryName(DbManager.DatabasePath); txtAuthor.Text = Settings.GetValue("AuthorGuid").ToString().ToUpper();