mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
* Rename avalonia & wpf samples * Rename rest of samples * fix sample readme * Fix compat util tests * rename / move all src projects * remove package lock files and move libC# again * Add rust lib and cargo workspace * Replace locksmith lib with new filelocksmith-rs library * Deprecated type * fix setup compile * Use thiserror for error handling * Rename some enums and formatting * Add missing SHA256 * wip c++ library * cpp wip * alphabetize readme * Try to get build working again * Fix some conditionally compiled bits * cross config should be in workspace root * Fix PathHelper for new rust target dir * Missed one old path to velopack.csproj * remove obsolete coverage code * testawareapp.exe no longer exists
40 lines
1.5 KiB
XML
40 lines
1.5 KiB
XML
<Page
|
|
x:Class="UnoSample.Presentation.MainPage"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:local="using:UnoSample.Presentation"
|
|
xmlns:uen="using:Uno.Extensions.Navigation.UI"
|
|
xmlns:um="using:Uno.Material"
|
|
xmlns:utu="using:Uno.Toolkit.UI"
|
|
Background="{ThemeResource BackgroundBrush}"
|
|
NavigationCacheMode="Required">
|
|
|
|
<Grid utu:SafeArea.Insets="VisibleBounds">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition />
|
|
</Grid.RowDefinitions>
|
|
<utu:NavigationBar Content="{Binding Title}" />
|
|
|
|
<StackPanel
|
|
Grid.Row="1"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Spacing="16">
|
|
<TextBlock Text="The app is not installed with Velopack" Visibility="{x:Bind NotInstalled}" />
|
|
<TextBlock Text="{x:Bind ViewModel.CurrentVersion}" />
|
|
|
|
<Button
|
|
HorizontalAlignment="Center"
|
|
Command="{Binding CheckForUpdatesCommand}"
|
|
Content="Check For Updates" />
|
|
<Button
|
|
HorizontalAlignment="Center"
|
|
Command="{Binding DownloadUpdatesCommand}"
|
|
Content="Download Updates"
|
|
Visibility="{x:Bind ViewModel.HasUpdate, Mode=OneWay}" />
|
|
<TextBlock Text="{Binding Status}" />
|
|
</StackPanel>
|
|
</Grid>
|
|
</Page>
|