Fix: Resolve PowerShell parser error in install.ps1 by wrapping interpolated arch variable in curly braces before colon delimiter.

This commit is contained in:
ospab 2026-05-15 00:50:22 +03:00
parent c1bbaec842
commit 0642cbde06
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ $url = "https://github.com/$repo/releases/download/$tag/$archive"
$zipPath = Join-Path $env:TEMP "ostp_temp_$($PID).zip" $zipPath = Join-Path $env:TEMP "ostp_temp_$($PID).zip"
$extractPath = Join-Path $env:TEMP "ostp_extract_$($PID)" $extractPath = Join-Path $env:TEMP "ostp_extract_$($PID)"
Write-Host "Downloading asset windows-$arch: $url ..." Write-Host "Downloading asset windows-${arch}: $url ..."
Invoke-WebRequest -Uri $url -OutFile $zipPath Invoke-WebRequest -Uri $url -OutFile $zipPath
if (-not (Test-Path $zipPath)) { if (-not (Test-Path $zipPath)) {