From 406db7844c93ef3bed0b7c7fa8d41a5ca8cc14cf Mon Sep 17 00:00:00 2001 From: egieb <93350544+beigeworm@users.noreply.github.com> Date: Tue, 4 Jun 2024 12:08:41 +0000 Subject: [PATCH] Update main.ps1 --- Windows-Idiot-Prank/main.ps1 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Windows-Idiot-Prank/main.ps1 b/Windows-Idiot-Prank/main.ps1 index 278f72a..2e04154 100644 --- a/Windows-Idiot-Prank/main.ps1 +++ b/Windows-Idiot-Prank/main.ps1 @@ -31,7 +31,6 @@ if ($hide -eq 1){ } } - # Download sounds and images iwr -Uri 'https://i.ibb.co/gDVfZ0L/white.jpg' -OutFile "$env:TEMP\white.png" iwr -Uri 'https://i.ibb.co/0nxjGzH/black.jpg' -OutFile "$env:TEMP\black.png" @@ -56,8 +55,11 @@ $job2 = { $form = New-Object System.Windows.Forms.Form $form.Text = "Idiot.exe" - $form.Width = 400 - $form.Height = 400 + $form.Width = 350 + $form.Height = 300 + $form.TopMost = $true + $form.Icon = [System.Drawing.Icon]::ExtractAssociatedIcon("C:\Windows\System32\DFDWiz.exe") + $form.FormBorderStyle = [System.Windows.Forms.FormBorderStyle]::FixedDialog $screen = [System.Windows.Forms.Screen]::PrimaryScreen $Width = $screen.Bounds.Width @@ -141,3 +143,4 @@ while ($true){ MouseState Start-Sleep -Milliseconds 500 } +