From 0a9a29c119b4440db343b575ba3b7a00c77e59c4 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Tue, 27 Aug 2024 14:15:05 +0200 Subject: [PATCH] bugfix: do not exit after creating config directory --- install_windows.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install_windows.ps1 b/install_windows.ps1 index 8f5e12a..446a8a6 100644 --- a/install_windows.ps1 +++ b/install_windows.ps1 @@ -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