Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
Fixed wrong checksum type variable being set on 64bit url
Browse files Browse the repository at this point in the history
fixes #149
  • Loading branch information
AdmiringWorm authored May 15, 2018
1 parent 9a2da21 commit c15dc51
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 c15dc51

Please sign in to comment.