Files
yanlang0123-ComfyUI_Lam/install.bat
T
2023-10-18 17:43:58 +08:00

21 lines
658 B
Batchfile

@echo off
CALL :NORMALIZEPATH "..\..\..\python_embeded\python.exe"
if exist "..\..\..\python_embeded\python.exe" (
echo Custom Python build of ComfyUI standalone executable detected:
echo "%RETVAL%"
echo --------------------------------------------------
..\..\..\python_embeded\python.exe install.py %1
) else (
for /f "tokens=*" %%i in ('where python') do set "PYTHON_PATH=%%i" & goto :done
:done
echo Custom Python not found. Use system's Python executable instead:
echo %PYTHON_PATH%
echo --------------------------------------------------
python.exe install.py %1
)
:NORMALIZEPATH
SET RETVAL=%~f1
pause