diff --git a/Download_Sophia.ps1 b/Download_Sophia.ps1 index 16b06c40..a343e3a4 100644 --- a/Download_Sophia.ps1 +++ b/Download_Sophia.ps1 @@ -154,11 +154,7 @@ switch ((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber) } Invoke-WebRequest @Parameters -if (Test-Path -Path "$DownloadsFolder\Sophia.Script.zip") -{ - continue -} -else +if (-not (Test-Path -Path "$DownloadsFolder\Sophia.Script.zip")) { Write-Verbose -Message "Your Windows build is unsupported. Run Windows Update and try again." -Verbose