fix powershell location
This commit is contained in:
parent
63ea1b77ce
commit
401df44ecd
1 changed files with 2 additions and 0 deletions
|
|
@ -73,6 +73,8 @@ function Get-PythonCommand {
|
||||||
}
|
}
|
||||||
|
|
||||||
$pythonCommand = @(Get-PythonCommand)
|
$pythonCommand = @(Get-PythonCommand)
|
||||||
|
# The elevated relaunch starts in System32; exports/ is relative, so run from the repo root.
|
||||||
|
Set-Location $PSScriptRoot
|
||||||
$env:PYTHONPATH = Join-Path $PSScriptRoot 'src'
|
$env:PYTHONPATH = Join-Path $PSScriptRoot 'src'
|
||||||
|
|
||||||
$pythonExe = $pythonCommand[0]
|
$pythonExe = $pythonCommand[0]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue