change log scrolling, deny installer cache for install
This commit is contained in:
parent
820c54b841
commit
9fc0ab8554
@ -10,9 +10,11 @@
|
|||||||
<Label Content="{Binding Version, RelativeSource={RelativeSource AncestorType=UserControl}, StringFormat='{}Installer Change Log for {0}'}" FontSize="18" FontWeight="SemiBold"
|
<Label Content="{Binding Version, RelativeSource={RelativeSource AncestorType=UserControl}, StringFormat='{}Installer Change Log for {0}'}" FontSize="18" FontWeight="SemiBold"
|
||||||
/>
|
/>
|
||||||
<Separator Margin="0 10" Padding="0" Background="{StaticResource AKI_Yellow}"/>
|
<Separator Margin="0 10" Padding="0" Background="{StaticResource AKI_Yellow}"/>
|
||||||
<TextBlock Text="{Binding Message, RelativeSource={RelativeSource AncestorType=UserControl}}"
|
<ScrollViewer MaxHeight="250">
|
||||||
TextWrapping="Wrap" MinHeight="100"
|
<TextBlock Text="{Binding Message, RelativeSource={RelativeSource AncestorType=UserControl}}"
|
||||||
/>
|
TextWrapping="Wrap" MinHeight="100"
|
||||||
|
/>
|
||||||
|
</ScrollViewer>
|
||||||
<Button Content="Close" Classes="yellow"
|
<Button Content="Close" Classes="yellow"
|
||||||
HorizontalAlignment="Right"
|
HorizontalAlignment="Right"
|
||||||
Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=dialogHost:DialogHost}, Path=CloseDialogCommand}"
|
Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=dialogHost:DialogHost}, Path=CloseDialogCommand}"
|
||||||
|
@ -187,6 +187,7 @@ public static class FileHelper
|
|||||||
new("Google", PathCheckType.Contains, PathCheckAction.Deny),
|
new("Google", PathCheckType.Contains, PathCheckAction.Deny),
|
||||||
new("Program Files", PathCheckType.Contains, PathCheckAction.Deny),
|
new("Program Files", PathCheckType.Contains, PathCheckAction.Deny),
|
||||||
new("Program Files (x86", PathCheckType.Contains, PathCheckAction.Deny),
|
new("Program Files (x86", PathCheckType.Contains, PathCheckAction.Deny),
|
||||||
|
new(Path.Join("spt-installer", "cache"), PathCheckType.Contains, PathCheckAction.Deny),
|
||||||
new("Drive Root", PathCheckType.DriveRoot, PathCheckAction.Deny)
|
new("Drive Root", PathCheckType.DriveRoot, PathCheckAction.Deny)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user