From 96b97f9ca377e9d448c30af4ba50e64d12463de4 Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Sun, 14 Apr 2024 20:53:40 +0300 Subject: [PATCH] Update Download_Sophia.ps1 --- Download_Sophia.ps1 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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