scripts/Windows/install_llvm_extension_vs2019.ps1
$vsixPath = "$($env:USERPROFILE)\llvm.vsix" Write-Host "Downloading llvm.vsix..." (New-Object Net.WebClient).DownloadFile('https://llvmextensions.gallerycdn.vsassets.io/extensions/llvmextensions/llvm-toolchain/1.0.359557/1556628491732/llvm.vsix', $vsixPath) $vsPath = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\Community" if (-not (Test-Path $vsPath)) { $vsPath = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\Preview" } Start-Process "$vsPath\Common7\IDE\VSIXInstaller.exe" "/q /a $vsixPath" -Wait Remove-Item $vsixPath -Force -ErrorAction Ignore Write-Host "Installed" -ForegroundColor Green |