diff --git a/bootstrap.ps1 b/bootstrap.ps1 index fbf9093..b581a7e 100644 --- a/bootstrap.ps1 +++ b/bootstrap.ps1 @@ -1,6 +1,8 @@ $run_path = Get-Location -Push-Location C:/SWTools +$swtools = C:/SWTools + +Push-Location $swtools if (Get-Command "./python/python.exe" -ErrorAction SilentlyContinue) { echo "Python already installed." @@ -17,7 +19,9 @@ if (Get-Command "./python/python.exe" -ErrorAction SilentlyContinue) { mkdir python Push-Location python tar -xf ../python.zip - Pop-Location python + Pop-Location } -./python/python.exe $run_path/main.py $run_path +Pop-Location + +$swtools/python/python.exe main.py $run_path