From 64f19808e16744a9b1b0eb75d41cfc1f159bb5fd Mon Sep 17 00:00:00 2001 From: egieb <93350544+beigeworm@users.noreply.github.com> Date: Wed, 12 Jun 2024 20:19:22 +0000 Subject: [PATCH] Update main.ps1 --- BadUSB-Detect-and-Protect/main.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/BadUSB-Detect-and-Protect/main.ps1 b/BadUSB-Detect-and-Protect/main.ps1 index d39edd0..cc9d919 100644 --- a/BadUSB-Detect-and-Protect/main.ps1 +++ b/BadUSB-Detect-and-Protect/main.ps1 @@ -299,6 +299,7 @@ $Menu_Exit.add_Click({ Stop-Job -Name DeviceMonitor $Systray_Tool_Icon.Visible = $false $appContext.ExitThread() + sleep 2 exit })