mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
* chore: update uno sample app with latest * Cleaning up UnoSample to use SampleHelper Updated the top level Directory.Build.targets to support samples with solutions and nested directories. Added build scripts. * Adding Uno sample to GHA * Remove framework bootstrap * Fixing mainExe name on non-windows --------- Co-authored-by: Kevin Bost <kitokeboo@gmail.com>
25 lines
915 B
XML
25 lines
915 B
XML
<Page x:Class="UnoSample.MainPage"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:local="using:UnoSample"
|
|
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
|
<Grid>
|
|
<StackPanel 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>
|