mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
feat: integrity hash PS1
This commit is contained in:
parent
02204eda7b
commit
31bc06746c
1 changed files with 7 additions and 0 deletions
7
CreateHashList.ps1
Normal file
7
CreateHashList.ps1
Normal 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")
|
||||||
Loading…
Add table
Add a link
Reference in a new issue