feat: integrity hash PS1

This commit is contained in:
goat 2021-03-21 20:54:15 +01:00
parent 02204eda7b
commit 31bc06746c

7
CreateHashList.ps1 Normal file
View file

@ -0,0 +1,7 @@
$hashes = @{}
Get-ChildItem $args[0] -Exclude dalamud.txt,*.zip,*.pdb,*.ipdb | Foreach-Object {
$hashes.Add($_.Name, (Get-FileHash $_.FullName -Algorithm MD5).Hash)
}
ConvertTo-Json $hashes | Out-File -FilePath (Join-Path $args[0] "hashes.json")