Updated Cygwin package

This commit is contained in:
Alexey Pustovalov 2024-02-03 16:31:03 +09:00
parent c1469fda35
commit 274a5ac196

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