Skip to content

Commit

Permalink
docs: use download command with progress report
Browse files Browse the repository at this point in the history
  • Loading branch information
salzig committed Sep 28, 2024
1 parent d76bd4f commit 3f78507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This is a WSL Distro for Ruby'n'Rails (Ruby and RubyOnRails) development. It is
wsl --install
# Download the WSL-Distro Tarball
$version = [io.path]::GetFileName((Invoke-WebRequest "https://github.com/salzig/wsl-distro-rubynrails/releases/latest" -MaximumRedirection 0 -ErrorAction Ignore).Headers.Location)
(New-Object System.Net.WebClient).DownloadFile("https://github.com/salzig/wsl-distro-rubynrails/releases/download/$version/wsl-distro-rubynrails.tar", "wsl-distro-rubynrails.tar")
curl "https://github.com/salzig/wsl-distro-rubynrails/releases/download/$version/wsl-distro-rubynrails.tar" -OutFile wsl-distro-rubynrails.tar
# Import Tarball as WSL-Distro
wsl --import RubynRails .\rubynrails wsl-distro-rubynrails.tar
# Cleanup temporary file
Expand Down

0 comments on commit 3f78507

Please sign in to comment.