diff --git a/images/win/scripts/Installers/Install-Msys2.ps1 b/images/win/scripts/Installers/Install-Msys2.ps1 index 197461c6a..67f43f9cb 100644 --- a/images/win/scripts/Installers/Install-Msys2.ps1 +++ b/images/win/scripts/Installers/Install-Msys2.ps1 @@ -31,10 +31,9 @@ Write-Host "Starting msys2 extraction" Remove-Item $msys2File Write-Host "Finished extraction" +# Add msys2 bin tools folders to PATH $env:PATH = "C:\msys64\mingw64\bin;C:\msys64\usr\bin;$origPath" -$ErrorActionPreference = "Continue" - Write-Host "bash -c pacman-key --init" Invoke-Expression "bash -c `"pacman-key --init`""