Skip to content

Portable Tool for an Ideal Windows Setup

-ref

Greedeks7bb5cf3540bc
diff --git a/.Source/GTweak/Windows/MainWindow.xaml.cs b/.Source/GTweak/Windows/MainWindow.xaml.cs
index da8d748a..83e95d6c 100644
--- a/.Source/GTweak/Windows/MainWindow.xaml.cs
+++ b/.Source/GTweak/Windows/MainWindow.xaml.cs
@@ -73,16 +73,15 @@ namespace GTweak
private void ButtonExit_PreviewMouseDown(object sender, MouseButtonEventArgs e)
{
if (e.LeftButton != MouseButtonState.Pressed) return;
+
switch (SystemTweaks.isTweakWorkingAntivirus)
{
case false:
this.Close();
break;
case true:
- {
new ViewNotification().Show("", (string)FindResource("title0_notification"), (string)FindResource("windefclose_notification"));
break;
- }
}
}