Updated Cygwin

This commit is contained in:
Alexey Pustovalov 2022-11-21 15:20:52 +09:00
parent b9a22c91d2
commit 007a744e65

View File

@ -200,7 +200,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 = 'cf57ca7ac4e1f57b5d152f310fb82fb0ce8e500bff261e46b89febc673d04210'; `
$sha256 = 'c0a26f4693ba25cc2039033126b0d95ac0f6fbc833b84857fdfa4ab11fd79411'; `
Write-Host ('Verifying SHA256 ({0}) ...' -f $sha256); `
if ((Get-FileHash $env:SystemDrive\setup.exe -Algorithm sha256).Hash -ne $sha256) { `
Write-Host 'Checksum Cygwin failed!'; `