We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef3a06f commit d135b05Copy full SHA for d135b05
1 file changed
setup/extract-setup-archive.ps1
@@ -59,10 +59,11 @@ if (-not (Test-Path $archiveFile)) {
59
exit 1
60
}
61
62
-# Clean up any existing temp directory
+# Clean up any existing temp directory and create fresh one
63
if (Test-Path $tempDir) {
64
Remove-Item -Recurse -Force $tempDir
65
66
+New-Item -ItemType Directory -Path $tempDir | Out-Null
67
68
# Extract archive using tar.exe (much faster than Expand-Archive)
69
Write-Host "Extracting $archiveFile..." -ForegroundColor Green
0 commit comments