Remove Python 2 references in the Powershell shim
CPython >= 3.8 is required for proper Windows support.
This commit is contained in:
parent
74aca02157
commit
30f310e935
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ Set-Location $BASEDIR
|
|||
git -C $DOTBOT_DIR submodule sync --quiet --recursive
|
||||
git submodule update --init --recursive $DOTBOT_DIR
|
||||
|
||||
foreach ($PYTHON in ('python', 'python3', 'python2')) {
|
||||
foreach ($PYTHON in ('python', 'python3')) {
|
||||
# Python redirects to Microsoft Store in Windows 10 when not installed
|
||||
if (& { $ErrorActionPreference = "SilentlyContinue"
|
||||
![string]::IsNullOrEmpty((&$PYTHON -V))
|
||||
|
|
|
@ -9,7 +9,7 @@ $BASEDIR = $PSScriptRoot
|
|||
Set-Location $BASEDIR
|
||||
|
||||
Set-Location $DOTBOT_DIR && git submodule update --init --recursive
|
||||
foreach ($PYTHON in ('python', 'python3', 'python2')) {
|
||||
foreach ($PYTHON in ('python', 'python3')) {
|
||||
# Python redirects to Microsoft Store in Windows 10 when not installed
|
||||
if (& { $ErrorActionPreference = "SilentlyContinue"
|
||||
![string]::IsNullOrEmpty((&$PYTHON -V))
|
||||
|
|
Loading…
Reference in a new issue