[windows] Build on AppVeyor CI
This commit is contained in:
8
scripts/check-sha256.ps1
Normal file
8
scripts/check-sha256.ps1
Normal file
@@ -0,0 +1,8 @@
|
||||
param([string]$file, [string]$hash);
|
||||
|
||||
$hashFromFile = Get-FileHash -Path $file -Algorithm SHA256
|
||||
$hashFromFile | Format-List
|
||||
|
||||
if ($hashFromFile.Hash -ne $hash) {
|
||||
Throw 'Hash mismatch!'
|
||||
}
|
||||
Reference in New Issue
Block a user