show correct app version
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
using ModpackUpdater.Manager;
|
using ModpackUpdater.Manager;
|
||||||
using ModpackUpdater.My.Resources;
|
using ModpackUpdater.My.Resources;
|
||||||
|
using Pilz.Extensions;
|
||||||
using Pilz.UI.Symbols;
|
using Pilz.UI.Symbols;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
@@ -31,7 +32,7 @@ public partial class Form1
|
|||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
Text = $"{Text} (v{Assembly.GetExecutingAssembly().GetName().Version})";
|
Text = $"{Text} (v{Assembly.GetExecutingAssembly().GetAppVersion()})";
|
||||||
|
|
||||||
RadButton_Install.SvgImage = AppGlobals.Symbols.GetSvgImage(AppSymbols.software_installer, SymbolSize.Small);
|
RadButton_Install.SvgImage = AppGlobals.Symbols.GetSvgImage(AppSymbols.software_installer, SymbolSize.Small);
|
||||||
RadButton_CheckForUpdates.SvgImage = AppGlobals.Symbols.GetSvgImage(AppSymbols.update_done, SymbolSize.Small);
|
RadButton_CheckForUpdates.SvgImage = AppGlobals.Symbols.GetSvgImage(AppSymbols.update_done, SymbolSize.Small);
|
||||||
|
|||||||
Reference in New Issue
Block a user