mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-11 01:37:24 +01:00
11 lines
No EOL
344 B
PowerShell
11 lines
No EOL
344 B
PowerShell
$hashes = [ordered]@{}
|
|
|
|
Set-Location $args[0]
|
|
|
|
Get-ChildItem -File -Recurse -Exclude dalamud.txt,*.zip,*.pdb,*.ipdb | Foreach-Object {
|
|
$key = ($_.FullName | Resolve-Path -Relative).TrimStart(".\\")
|
|
$val = (Get-FileHash $_.FullName -Algorithm MD5).Hash
|
|
$hashes.Add($key, $val)
|
|
}
|
|
|
|
$hashes | ConvertTo-Json | Out-File -FilePath "hashes.json" |