Fix python folder check

This commit is contained in:
Michael Pfaff 2022-06-09 15:17:28 -04:00
parent e582f6149a
commit 7332806678
Signed by: michael
GPG Key ID: CF402C4A012AA9D4
1 changed files with 1 additions and 1 deletions

View File

@ -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"
}