bugfix: do not exit after creating config directory

This commit is contained in:
Baipyrus 2024-08-27 14:15:05 +02:00
parent 090e07f04c
commit 0a9a29c119

View File

@ -76,8 +76,8 @@ function ProcessUrlFiles
# Ensure the destination directory exists
if (-not (Test-Path $destinationDir))
{
New-Item -ItemType Directory -Path $destinationDir
return
Write-Host "Creating destination directory $destinationDir ..." -ForegroundColor Cyan
New-Item -ItemType Directory -Path $destinationDir 2>$null
}
# Create temporary directory for curl