fix powershell location

This commit is contained in:
Golumpa 2026-06-11 10:42:56 +01:00
parent 63ea1b77ce
commit 401df44ecd

View file

@ -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]