mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
7 lines
No EOL
251 B
PowerShell
7 lines
No EOL
251 B
PowerShell
$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") |