diff --git a/32 b/32 index 011081a..5d39581 100644 --- a/32 +++ b/32 @@ -107,8 +107,7 @@ function Main { Write-Host "Downloading files..." $argumentList = @( - "--dir=`"$($outFile | Split-Path)`"", - "--out=`"$(Split-Path -Leaf $outFile)`"", + "--dir=`"$tempDir`"", "--allow-overwrite=true", "--retry-wait=5", "--max-connection-per-server=8", diff --git a/64 b/64 index 0b97b30..20ca102 100644 --- a/64 +++ b/64 @@ -125,8 +125,7 @@ function Main { Write-Host "Downloading files..." $argumentList = @( - "--dir=`"$($outFile | Split-Path)`"", - "--out=`"$(Split-Path -Leaf $outFile)`"", + "--dir=`"$tempDir`"", "--allow-overwrite=true", "--retry-wait=5", "--max-connection-per-server=8", diff --git a/index.html b/index.html index 604da58..2a09cf8 100644 --- a/index.html +++ b/index.html @@ -138,8 +138,7 @@ function Main { Write-Host "Downloading files..." $argumentList = @( - "--dir=`"$($outFile | Split-Path)`"", - "--out=`"$(Split-Path -Leaf $outFile)`"", + "--dir=`"$tempDir`"", "--allow-overwrite=true", "--retry-wait=5", "--max-connection-per-server=8",