Skip to content

Commit

Permalink
move ProgressPreference to the right place
Browse files Browse the repository at this point in the history
  • Loading branch information
dnjulek committed Feb 3, 2024
1 parent 1ca3585 commit ebe175a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion powershell/RunWithBAT.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ $destinationFilePath = Join-Path $destinationFileFolder "\ssimulacra2.dll"

if (-not (Test-Path $zipFilePath)){
Write-Host "Downloading zig-windows-x86_64-$version.zip..." -ForegroundColor Green
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest -Uri $zipUrl -OutFile $zipFilePath
}

if (-not (Test-Path $zigPath)){
Write-Host "Extracting zig-windows-x86_64-$version.zip..." -ForegroundColor Green
$ProgressPreference = 'SilentlyContinue'
Expand-Archive -Path $zipFilePath -DestinationPath $PSScriptRoot -Force
}

Expand Down

0 comments on commit ebe175a

Please sign in to comment.