Commit 39efe02f9b2dbf521de1da60efa2762011eebf15
1 parent
6677f1c5
v1.6.0.0
- menu header bővítése a verzió és a program könyvtár informáióval
Showing
2 changed files
with
4 additions
and
3 deletions
Show diff stats
Vrh.Log4Pro.MaintenanceConsole/ConsoleFunction - Menu.cs
| ... | ... | @@ -175,10 +175,11 @@ namespace Vrh.Log4Pro.MaintenanceConsole.MenuNS |
| 175 | 175 | { |
| 176 | 176 | if (Menu.IsCommandMode()) { return; } |
| 177 | 177 | string version = Assembly.GetExecutingAssembly().GetName().Version.ToString(); |
| 178 | + string exelocation = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location); | |
| 178 | 179 | ColorConsole.Clear(); |
| 179 | 180 | ColorConsole.WriteLine(Title, ConsoleColor.White); |
| 180 | 181 | ColorConsole.WriteLine(new string('-', Title.Length)); |
| 181 | - ColorConsole.WriteLine($"Program version: v{version}", ConsoleColor.White); | |
| 182 | + ColorConsole.WriteLine($"Program version v{version} is running from {exelocation}", ConsoleColor.White); | |
| 182 | 183 | } |
| 183 | 184 | |
| 184 | 185 | private static int SetMenuItemHeaderWidth(List<Item> MenuItemList,int columns) | ... | ... |
Vrh.Log4Pro.MaintenanceConsole/Properties/AssemblyInfo.cs
| ... | ... | @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; |
| 32 | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
| 33 | 33 | // by using the '*' as shown below: |
| 34 | 34 | // [assembly: AssemblyVersion("1.0.*")] |
| 35 | -[assembly: AssemblyVersion("1.5.1.0")] | |
| 36 | -[assembly: AssemblyFileVersion("1.5.1.0")] | |
| 35 | +[assembly: AssemblyVersion("1.6.0.0")] | |
| 36 | +[assembly: AssemblyFileVersion("1.6.0.0")] | ... | ... |