From 6dd92e540dfc4064e54aa061c42ee95fd5867889 Mon Sep 17 00:00:00 2001 From: "waffle.lord" Date: Tue, 22 Aug 2023 10:21:52 -0400 Subject: [PATCH] add problem folder warning --- SPTInstaller/App.axaml | 2 ++ .../Dialogs/ConfirmationDialog.axaml | 28 +++++++++++++++++++ .../Dialogs/ConfirmationDialog.axaml.cs | 22 +++++++++++++++ SPTInstaller/Helpers/FileHelper.cs | 9 ++++++ SPTInstaller/Program.cs | 3 +- SPTInstaller/SPTInstaller.csproj | 1 + SPTInstaller/ViewModels/PreChecksViewModel.cs | 17 +++++++++-- SPTInstaller/Views/MainWindow.axaml | 7 +++-- 8 files changed, 84 insertions(+), 5 deletions(-) create mode 100644 SPTInstaller/CustomControls/Dialogs/ConfirmationDialog.axaml create mode 100644 SPTInstaller/CustomControls/Dialogs/ConfirmationDialog.axaml.cs diff --git a/SPTInstaller/App.axaml b/SPTInstaller/App.axaml index 94f1bf0..5a734ba 100644 --- a/SPTInstaller/App.axaml +++ b/SPTInstaller/App.axaml @@ -2,6 +2,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:SPTInstaller" x:Class="SPTInstaller.App" + xmlns:dialogHostAvalonia="clr-namespace:DialogHostAvalonia;assembly=DialogHost.Avalonia" RequestedThemeVariant="Light"> @@ -9,6 +10,7 @@ + diff --git a/SPTInstaller/CustomControls/Dialogs/ConfirmationDialog.axaml b/SPTInstaller/CustomControls/Dialogs/ConfirmationDialog.axaml new file mode 100644 index 0000000..572110f --- /dev/null +++ b/SPTInstaller/CustomControls/Dialogs/ConfirmationDialog.axaml @@ -0,0 +1,28 @@ + + + +