Skip to content

Commit

Permalink
Update install.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
jareddlc committed Jul 30, 2021
1 parent 362a46f commit c60da25
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ MacOS
$ curl -sSL https://github.com/gut-hub/gut/raw/master/install.sh | sh
Windows 10 (Open powershell (Run as administrator))
$ Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://github.com/gut-hub/gut/raw/master/install.ps1'))
```

Expand Down
2 changes: 1 addition & 1 deletion install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ If (-NOT (Test-Path -Path ${GUT_DIR})) {
Write-Output "Getting latest release"
$release = Invoke-RestMethod -URI https://api.github.com/repos/gut-hub/gut/releases/latest
$version = ${release}.tag_name
$url = ${release}.assets.browser_download_url[1]
$url = Write-Output ${release}.assets.browser_download_url | Select-String -Pattern $GUT_FILE

# Download
Write-Output "Downloading: ${url}"
Expand Down

0 comments on commit c60da25

Please sign in to comment.