fix(installer): resume interrupted asset downloads (#49)
Co-authored-by: Haitao Pan <manbuzhe2009@qq.com>
This commit is contained in:
parent
194d1dde38
commit
ca0d8a49a8
@ -71,7 +71,7 @@ download_asset() {
|
||||
local output_path="$2"
|
||||
|
||||
github_curl application/octet-stream \
|
||||
-fL --retry 5 --retry-all-errors \
|
||||
-fL --retry 5 --retry-all-errors --continue-at - \
|
||||
-o "$output_path" "$asset_url"
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user