add version text
This commit is contained in:
parent
6d1833d7ab
commit
6588bbd60d
2 changed files with 17 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
using System.Reflection;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Interactivity;
|
||||
using Avalonia.Platform.Storage;
|
||||
|
|
@ -28,6 +28,9 @@ public partial class MainWindow : Window
|
|||
InitializeComponent();
|
||||
|
||||
LogMessage("MetaforceInstaller by slavagm");
|
||||
VersionTextBlock.Text = Assembly.GetExecutingAssembly()
|
||||
.GetCustomAttribute<AssemblyFileVersionAttribute>()?.Version;
|
||||
|
||||
|
||||
_adbService = new AdbService();
|
||||
_adbService.ProgressChanged += OnAdbProgressChanged;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue