Skip to content

Commit

Permalink
Merge pull request majkinetor#150 from AdmiringWorm/patch-1
Browse files Browse the repository at this point in the history
Fixed wrong checksum type variable being set on 64bit url
  • Loading branch information
majkinetor authored May 15, 2018
2 parents 9a2da21 + c15dc51 commit 1946425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AU/Public/Get-RemoteFiles.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function Get-RemoteFiles {
Write-Host "Downloading to $file_name -" $Latest.Url64
$client.DownloadFile($Latest.URL64, $file_path)
$global:Latest.Checksum64 = Get-FileHash $file_path -Algorithm $Algorithm | % Hash
$global:Latest.ChecksumType32 = $Algorithm
$global:Latest.ChecksumType64 = $Algorithm
$global:Latest.FileName64 = $file_name
}
} catch{ throw $_ } finally { $client.Dispose() }
Expand Down

0 comments on commit 1946425

Please sign in to comment.