Skip to content

Commit 7d712fd

Browse files
committed
Second attempt at validating SHA1 hash
1 parent 9b93ebf commit 7d712fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ try
515515
Write-Diagnostic "Downloading $Cef32FileName; this will take a while as the file is $Cef32FileSize MB."
516516
$Client.DownloadFile($CefBuildServerUrl + $Cef32FileName, $LocalFile);
517517

518-
$Cef32LocalFileHash = Get-FileHash -Path $LocalFile -Algorithm SHA1
518+
$Cef32LocalFileHash = (Get-FileHash -Path $LocalFile -Algorithm SHA1).Hash
519519

520520
Write-Diagnostic "Download $Cef32FileName complete"
521521
Write-Diagnostic "Expected SHA1 for $Cef32FileName $Cef32FileHash"
@@ -554,7 +554,7 @@ try
554554
Write-Diagnostic "Downloading $Cef64FileName; this will take a while as the file is $Cef64FileSize MB."
555555
$Client.DownloadFile($CefBuildServerUrl + $Cef64FileName, $LocalFile);
556556

557-
$Cef32LocalFileHash = Get-FileHash -Path $LocalFile -Algorithm SHA1
557+
$Cef32LocalFileHash = (Get-FileHash -Path $LocalFile -Algorithm SHA1).Hash
558558

559559
Write-Diagnostic "Download $Cef64FileName complete"
560560
Write-Diagnostic "Expected SHA1 for $Cef64FileName $Cef64FileHash"

0 commit comments

Comments
 (0)