Skip to content

about aria2 in scoop #5756

Dec 11, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

can I create a aria config file?

No, but we can set any options with scoop config aria2-options @("--option-1=true", "--option-1='00 11 22'", ...)

Scoop/lib/install.ps1

Lines 182 to 234 in f930280

function Invoke-CachedAria2Download ($app, $version, $manifest, $architecture, $dir, $cookies = $null, $use_cache = $true, $check_hash = $true) {
$data = @{}
$urls = @(script:url $manifest $architecture)
# aria2 input file
$urlstxt = Join-Path $cachedir "$app.txt"
$urlstxt_content = ''
$download_finished = $true
# aria2 options
$options = @(
"--input-file='$urlstxt'"
"--user-agent='$(Get-UserAgent)'"
"--allow-overwrit…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@1trapbox
Comment options

@HUMORCE
Comment options

@Hrxn
Comment options

Answer selected by 1trapbox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants