From daff1715ab17b9f299dc8fb0e0c7b34e17ce0dba Mon Sep 17 00:00:00 2001 From: Akegarasu Date: Mon, 9 Sep 2024 23:05:33 +0800 Subject: [PATCH] fix --- run_gui.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run_gui.ps1 b/run_gui.ps1 index 49040b7..d404a2a 100644 --- a/run_gui.ps1 +++ b/run_gui.ps1 @@ -7,6 +7,8 @@ if (Test-Path -Path "venv\Scripts\activate") { } elseif (Test-Path -Path "python\python.exe") { Write-Host -ForegroundColor green "Using python from python folder..." + $py_path = (Get-Item "python").FullName + $env:PATH = "$py_path;$env:PATH" } else { Write-Host -ForegroundColor Blue "No virtual environment found, using system python..."