Scoop
Scoop copied to clipboard
fix(install): fallback to default downloader when aria2 fails
Try to fallback to default downloader when aria2 download failed. This make the download with aria2 more stable since there's some download links that doesn't support multi-connection.
Closes #4472
It would be better to not make this a default, and control it with a config variable instead. @kiennq can you fix the conficts?
A refactoring of install.ps1
by separate downloading, extracting, and installing will be done after this release, and could you do the resolving after that?
Would it not be better to just set aria2-max-connection-per-server
to 1
if the download fails on retry?