Skip to content

Commit

Permalink
Github
Browse files Browse the repository at this point in the history
  • Loading branch information
tunisiano187 committed Nov 21, 2020
1 parent 4deb699 commit f4e0984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion automatic/bitcoin.portable/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function global:au_GetLatest {
$version = $(((Invoke-WebRequest -Uri $releases -UseBasicParsing).Links | Where-Object {$_ -match ".zip"} | Select-Object -First 1).href).split('/')[-1].replace('.zip', '').replace('v','')
$realversion = $version.replace('rc','-rc');
Write-Verbose 'Get files'
$url64 = $((Invoke-WebRequest -Uri $releases -UseBasicParsing).Links | Where-Object {$_ -match ".zip"} | Select-Object -First 1).href
$url64 = "https://github.com/$(((Invoke-WebRequest -Uri $releases -UseBasicParsing).Links | Where-Object {$_ -match ".zip"} | Select-Object -First 1).href)"

return @{ URL64 = $url64; Version = $realversion }
}
Expand Down

0 comments on commit f4e0984

Please sign in to comment.