Files
ltdrdata-was-node-suite-com…/install.bat
T
Jordan Thompson f6b9c67d2f Update install.bat
Use executing script path instead of working directory.
2023-07-10 15:49:49 -07:00

16 lines
354 B
Batchfile

@echo off
set "requirements_txt=%~dp0\requirements.txt"
set "python_exec=..\..\..\python_embeded\python.exe"
echo Installing WAS-NS ...
if exist "%python_exec%" (
echo Installing with ComfyUI Portable
%python_exec% -s -m pip install -r %requirements_txt%
) else (
echo Installing with system Python
pip install -r %requirements_txt%
)
pause