diff --git a/Download_Sophia.ps1 b/Download_Sophia.ps1 index c1262498..c8e1a3a3 100644 --- a/Download_Sophia.ps1 +++ b/Download_Sophia.ps1 @@ -143,7 +143,7 @@ if (-not ("WinAPI.ForegroundWindow" -as [type])) Add-Type @SetForegroundWindow } -Get-Process- Name explorer | Where-Object -FilterScript {$_.MainWindowTitle -match "Sophia Script v"} | ForEach-Object -Process { +Get-Process -Name explorer | Where-Object -FilterScript {$_.MainWindowTitle -match "Sophia Script v"} | ForEach-Object -Process { # Show window, if minimized [WinAPI.ForegroundWindow]::ShowWindowAsync($_.MainWindowHandle, 5)