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

Commit

Permalink
close #124
Browse files Browse the repository at this point in the history
  • Loading branch information
majkinetor committed Feb 21, 2018
1 parent 8405d67 commit 20661eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AU/Public/Update-Package.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
}
function global:au_GetLatest {
$download_page = Invoke-WebRequest -Uri https://github.com/hluk/CopyQ/releases
$download_page = Invoke-WebRequest https://github.com/hluk/CopyQ/releases -UseBasicParsing
$re = "copyq-.*-setup.exe"
$url = $download_page.links | ? href -match $re | select -First 1 -expand href
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ Sometimes invoking `chocolateyInstall.ps1` during the automatic checksum could b
}
function au_GetLatest() {
download_page = Invoke-WebRequest $releases -UseBasicParsing
$download_page = Invoke-WebRequest $releases -UseBasicParsing
$url = $download_page.links | ? href -match '\.exe$' | select -First 1 -expand href
$version = $url -split '/' | select -Last 1 -Skip 1
@{
Expand Down

0 comments on commit 20661eb

Please sign in to comment.