Delete Install-good-ComfyUI.bat
Browse files- Install-good-ComfyUI.bat +0 -77
Install-good-ComfyUI.bat
DELETED
|
@@ -1,77 +0,0 @@
|
|
| 1 |
-
@echo off
|
| 2 |
-
setlocal
|
| 3 |
-
chcp 65001 > nul
|
| 4 |
-
set target_dir=%~dp0
|
| 5 |
-
set custom_n=%target_dir%ComfyUI\custom_nodes
|
| 6 |
-
set py=%target_dir%python_embeded\
|
| 7 |
-
|
| 8 |
-
call :ColorText "=============================================================" "Yellow"
|
| 9 |
-
call :ColorText ".bat file for installing good-ComfyUI by Skiffbox" "Green"
|
| 10 |
-
|
| 11 |
-
call :ColorText "=============================================================" "Yellow"
|
| 12 |
-
echo Installing wget
|
| 13 |
-
curl --ssl-no-revoke -L -o wget.exe https://huggingface.co/iRedHat/iBat-ComfyUI/resolve/main/wget.exe
|
| 14 |
-
call :ColorText "Install wget complete" "Green"
|
| 15 |
-
|
| 16 |
-
call :ColorText "=============================================================" "Yellow"
|
| 17 |
-
call :ColorText "Downloading and unzip python+git" "Green"
|
| 18 |
-
cd %target_dir%
|
| 19 |
-
%target_dir%wget.exe -c -q -O pygit.bat https://huggingface.co/iRedHat/iBat-ComfyUI/resolve/main/Git-Python_embeded.bat
|
| 20 |
-
call %target_dir%Git-Python_embeded.bat
|
| 21 |
-
del /f /q %target_dir%Git-Python_embeded.bat
|
| 22 |
-
|
| 23 |
-
cd %target_dir%
|
| 24 |
-
%target_dir%wget.exe -c -q -O install_modules.py https://huggingface.co/iRedHat/iBat-ComfyUI/resolve/main/install_modules.py
|
| 25 |
-
%py%python.exe install_modules.py
|
| 26 |
-
del /f /q %target_dir%install_modules.py
|
| 27 |
-
del /f /q %target_dir%insightface-0.7.3-cp311-cp311-win_amd64.whl
|
| 28 |
-
|
| 29 |
-
%target_dir%wget.exe -c -q -O all_nodes.py https://huggingface.co/iRedHat/iBat-ComfyUI/resolve/main/all_nodes.py
|
| 30 |
-
%py%python.exe all_nodes.py
|
| 31 |
-
del /f /q %target_dir%all_nodes.py
|
| 32 |
-
|
| 33 |
-
rem call :ColorText "=============================================================" "Yellow"
|
| 34 |
-
rem call :ColorText "run menu.bat and install custom nodes" "Green"
|
| 35 |
-
rem cd %target_dir%
|
| 36 |
-
rem %target_dir%wget.exe -c -q -O min_nodes.bat https://huggingface.co/iRedHat/iBat-ComfyUI/resolve/main/min_nodes.bat
|
| 37 |
-
rem call %target_dir%min_nodes.bat
|
| 38 |
-
rem del /f /q %target_dir%min_nodes.bat
|
| 39 |
-
|
| 40 |
-
call :ColorText "=============================================================" "Yellow"
|
| 41 |
-
call :ColorText "Download update.bat file" "Green"
|
| 42 |
-
%target_dir%wget.exe -c -q -O update.bat https://huggingface.co/iRedHat/iBat-ComfyUI/resolve/main/update.bat
|
| 43 |
-
%target_dir%wget.exe -c -q -O models_links.bat https://huggingface.co/iRedHat/iBat-ComfyUI/resolve/main/models_links.bat
|
| 44 |
-
%target_dir%wget.exe -c -q -O rename_list.txt https://huggingface.co/iRedHat/iBat-ComfyUI/resolve/main/rename_list.txt
|
| 45 |
-
%target_dir%wget.exe -c -q -O update_git_pull.bat https://huggingface.co/iRedHat/iBat-ComfyUI/resolve/main/update_git_pull.bat
|
| 46 |
-
call %target_dir%update.bat
|
| 47 |
-
rem call %target_dir%models_links.bat
|
| 48 |
-
|
| 49 |
-
call :ColorText "=============================================================" "Yellow"
|
| 50 |
-
call :ColorText "Building run.bat file" "Green"
|
| 51 |
-
echo @echo off> run.bat
|
| 52 |
-
echo setlocal>> run.bat
|
| 53 |
-
echo chcp 65001 > nul>> run.bat
|
| 54 |
-
echo set target_dir=%~dp0>> run.bat
|
| 55 |
-
echo set PATH=%target_dir%git\bin;%target_dir%git\libexec\;%target_dir%python_embeded;%target_dir%python_embeded\Library\bin;%target_dir%python_embeded\Scripts>> run.bat
|
| 56 |
-
echo set COMFYUI_PATH=%target_dir%ComfyUI>> run.bat
|
| 57 |
-
echo set COMFYUI_MODEL_PATH=%target_dir%ComfyUI\models>> run.bat
|
| 58 |
-
echo %target_dir%python_embeded\python %target_dir%ComfyUI\main.py --auto-launch --lowvram>> run.bat
|
| 59 |
-
echo pause>> run.bat
|
| 60 |
-
|
| 61 |
-
call :ColorText "=============================================================" "Yellow"
|
| 62 |
-
call :ColorText "Starting ComfyUI - run.bat" "Green"
|
| 63 |
-
start "" "%target_dir%run.bat"
|
| 64 |
-
|
| 65 |
-
call :ColorText "=============================================================" "Yellow"
|
| 66 |
-
call :ColorText "Installation of ComfyUI and Nodes complete by Skiffbox" "Green"
|
| 67 |
-
|
| 68 |
-
pause
|
| 69 |
-
exit /b
|
| 70 |
-
|
| 71 |
-
:ColorText
|
| 72 |
-
setlocal
|
| 73 |
-
set text=%~1
|
| 74 |
-
set color=%~2
|
| 75 |
-
powershell -NoProfile -ExecutionPolicy Bypass -Command "Write-Host '%text%' -ForegroundColor %color%"
|
| 76 |
-
endlocal
|
| 77 |
-
exit /b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|