Skip to content

Commit

Permalink
Added version information.
Browse files Browse the repository at this point in the history
  • Loading branch information
LittlePox committed Aug 10, 2019
1 parent 5d287e2 commit fef32a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions OKEGui/OKEGui/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.IO;
using System.Reflection;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
Expand All @@ -20,6 +21,8 @@ public MainWindow()
{
InitializeComponent();

Version version = Assembly.GetExecutingAssembly().GetName().Version;
this.Title += " v" + version;
if (EnvironmentChecker.CheckEnviornment())
{
ConfigManager.WriteConfig();
Expand Down
3 changes: 1 addition & 2 deletions OKEGui/OKEGui/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,4 @@
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
// 方法是按如下所示使用“*”: :
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("3.8.*")]

0 comments on commit fef32a4

Please sign in to comment.