Compare commits
2 commits
b4ce64456e
...
8b94eadac0
| Author | SHA1 | Date | |
|---|---|---|---|
| 8b94eadac0 | |||
| 6588bbd60d |
2 changed files with 17 additions and 7 deletions
|
|
@ -45,12 +45,19 @@
|
|||
HorizontalAlignment="Stretch" />
|
||||
</StackPanel>
|
||||
|
||||
<Image Grid.Column="0"
|
||||
<StackPanel Grid.Column="0" Margin="20" Spacing="15" VerticalAlignment="Bottom">
|
||||
<Image
|
||||
Margin="20"
|
||||
VerticalAlignment="Bottom"
|
||||
Source="{DynamicResource Logo}"
|
||||
HorizontalAlignment="Center">
|
||||
</Image>
|
||||
<TextBlock
|
||||
Name="VersionTextBlock"
|
||||
FontFamily="Consolas,Courier New,monospace"
|
||||
FontSize="14"
|
||||
HorizontalAlignment="Center" />
|
||||
</StackPanel>
|
||||
|
||||
<!-- Right Panel - Logs -->
|
||||
<TextBox Grid.Column="1" Name="LogsTextBox"
|
||||
|
|
|
|||
|
|
@ -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