Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[vcpkg] Fix powershell font corruption bug #7094

Merged

Conversation

ras0219-msft
Copy link
Contributor

All in-box versions of powershell in Windows 7 through Windows 10 will corrupt the console font in certain (common) circumstances[1]. The best way to fix this is to always use the new powershell core, which has removed this "feature".

As an added bonus, it means any powershell scripts inside vcpkg can rely on having a modern version of powershell and don't need to worry about version skew across legacy Windows versions (Note: does not apply to bootstrap.ps1 and applocal.ps1 because these run outside vcpkg).

[1] PowerShell/PowerShell@46cdd7e#diff-38052b6d0f2182bf2d4debed33df29f6L2665

@ras0219-msft ras0219-msft added the info:internal This PR or Issue was filed by the vcpkg team. label Jun 30, 2019
@ras0219-msft ras0219-msft self-assigned this Jun 30, 2019
@ras0219-msft ras0219-msft merged commit 2b8e225 into microsoft:master Jul 6, 2019
strega-nil pushed a commit to strega-nil/vcpkg that referenced this pull request May 5, 2021
* [vcpkg] Fix font corruption bug on Windows by downloading Powershell Core

* [vcpkg] Rename subtool to powershell-core

* [vcpkg] Add missing includes to project files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info:internal This PR or Issue was filed by the vcpkg team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant