Fix python folder check
This commit is contained in:
parent
e582f6149a
commit
7332806678
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue