Updated cygwin

This commit is contained in:
Alexey Pustovalov 2023-08-01 18:11:25 +09:00
parent 631cf2c12e
commit 5c2580633b

View File

@ -199,7 +199,7 @@ RUN Set-Location -Path $env:SystemDrive\.; `
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
(New-Object Net.WebClient).DownloadFile("""$env:CYGWIN_URL""", """$env:SystemDrive\setup.exe"""); `
`
$sha256 = '6bad4555154b3b348d1bfb633a2e9d6086aa46e36952f456a434ecef5b0010e0'; `
$sha256 = 'a17217e66dd7c40fa4851a433335c1f3f003cd627116c708b2f6e66eba886ea9'; `
Write-Host ('Verifying SHA256 ({0}) ...' -f $sha256); `
if ((Get-FileHash $env:SystemDrive\setup.exe -Algorithm sha256).Hash -ne $sha256) { `
Write-Host 'Checksum Cygwin failed!'; `