diff --git a/bootstrap.ps1 b/bootstrap.ps1 index 3a018c5..fbf9093 100644 --- a/bootstrap.ps1 +++ b/bootstrap.ps1 @@ -10,7 +10,7 @@ if (Get-Command "./python/python.exe" -ErrorAction SilentlyContinue) { curl -Uri "https://www.python.org/ftp/python/3.10.5/python-3.10.5-embed-amd64.zip" -OutFile ./python.zip } - if (Get-Command "./python" -ErrorAction SilentlyContinue) { + if (Test-Path -Path "./python") { Remove-Item -Recurse -ErrorAction:Stop "./python" }