Browse Source

Update Download_Sophia.ps1

master
Dmitry Nefedov 8 months ago
committed by GitHub
parent
commit
96b97f9ca3
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      Download_Sophia.ps1

6
Download_Sophia.ps1

@ -154,11 +154,7 @@ switch ((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber)
} }
Invoke-WebRequest @Parameters Invoke-WebRequest @Parameters
if (Test-Path -Path "$DownloadsFolder\Sophia.Script.zip") if (-not (Test-Path -Path "$DownloadsFolder\Sophia.Script.zip"))
{
continue
}
else
{ {
Write-Verbose -Message "Your Windows build is unsupported. Run Windows Update and try again." -Verbose Write-Verbose -Message "Your Windows build is unsupported. Run Windows Update and try again." -Verbose

Loading…
Cancel
Save