Explorar o código

Merge pull request #16231 from AUTOMATIC1111/bat-activate-venv

activate venv .bat
AUTOMATIC1111 hai 1 ano
pai
achega
fc7b25ac67
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      webui.bat

+ 1 - 0
webui.bat

@@ -48,6 +48,7 @@ echo Warning: Failed to upgrade PIP version
 
 :activate_venv
 set PYTHON="%VENV_DIR%\Scripts\Python.exe"
+call "%VENV_DIR%\Scripts\activate.bat"
 echo venv %PYTHON%
 
 :skip_venv