Improve error handling

* Simplify regex and fix unconverted characters.
* Also use Start-BitsTransfer for cmdline downloads (Closes #56).
* Also remove -DisableProgress now that we use Start-BitsTransfer.
This commit is contained in:
Pete Batard
2023-02-06 01:22:02 +00:00
parent 4b24ae5795
commit 10acbf9f84
3 changed files with 34 additions and 41 deletions

View File

@@ -87,7 +87,6 @@ The options are:
architecture as the one from the current system.
- `GetUrl`: By default, the script attempts to automatically launch the download. But when using the `-GetUrl` switch,
the script only displays the download URL, which can then be piped into another command or into a file.
- `DisableProgress`: Disable progress report. This may speed up downloads when using the command line.
Examples of a commandline download: