Skip to content

Commit

Permalink
Fixed #27
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Tom Francis committed Jul 31, 2019
1 parent 0c8d7bb commit 28aeb18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Forms/AboutDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 28aeb18

Please sign in to comment.