diff --git a/install-portable.bat b/install-portable.bat new file mode 100644 index 0000000..d2b877d --- /dev/null +++ b/install-portable.bat @@ -0,0 +1,16 @@ +@echo off + +set "requirements_txt=%~dp0\requirements.txt" +set "python_exec=..\..\..\python_embeded\python.exe" + +echo Installing node... + +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 \ No newline at end of file diff --git a/setup-onediff.bat b/setup-onediff.bat new file mode 100644 index 0000000..3cdd9a4 --- /dev/null +++ b/setup-onediff.bat @@ -0,0 +1,15 @@ +@echo off + +set "python_exec=..\..\..\python_embeded\python.exe" + +echo Installing node... + +if exist "%python_exec%" ( + echo Installing with ComfyUI Portable + "%python_exec%" -s -m pip install --pre onediff onediffx && pip install nexfort" +) else ( + echo Installing with system Python + pip install --pre onediff onediffx && pip install nexfort" +) + +pause \ No newline at end of file