python@3.10.6: esc compatible with PowerShell 5 (#3799)

This commit is contained in:
Xuesong 2022-08-03 12:56:49 +08:00 committed by GitHub
parent 91fd63735f
commit 4427b49c62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@
}, },
"post_install": [ "post_install": [
"python -E -s -m ensurepip -U --default-pip | Out-Null", "python -E -s -m ensurepip -U --default-pip | Out-Null",
"Write-Output \"`e[0m\" # Reset ansi to prevent color leak from installer" "Write-Output \"$([char]0x1b)[0m\" # Reset ansi to prevent color leak from installer"
], ],
"uninstaller": { "uninstaller": {
"script": [ "script": [