Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions install-portable.bat
Original file line number Diff line number Diff line change
@@ -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
15 changes: 15 additions & 0 deletions setup-onediff.bat
Original file line number Diff line number Diff line change
@@ -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