Delete scripts/Nodes_installer/UmeAiRT-Nodes_installer.bat
Browse files
scripts/Nodes_installer/UmeAiRT-Nodes_installer.bat
DELETED
@@ -1,185 +0,0 @@
|
|
1 |
-
@echo off
|
2 |
-
setlocal enabledelayedexpansion
|
3 |
-
|
4 |
-
set "basePath=%CD%"
|
5 |
-
set "comfyPath=%basePath%\ComfyUI"
|
6 |
-
set "pythonPath=%basePath%\python_embeded"
|
7 |
-
set "customNodesPath=%comfyPath%\custom_nodes"
|
8 |
-
|
9 |
-
if not exist "%basePath%\logs" mkdir "%basePath%\logs"
|
10 |
-
|
11 |
-
:check_folder
|
12 |
-
if exist "%basePath%\ComfyUI" (
|
13 |
-
echo ComfyUI folder detected
|
14 |
-
set "comfyPath=%basePath%\ComfyUI"
|
15 |
-
if exist "%basePath%\python_embeded" (
|
16 |
-
echo Python folder detected
|
17 |
-
set "pythonPath=%basePath%\python_embeded"
|
18 |
-
) else (
|
19 |
-
echo Python folder not detected, give Python folder path :
|
20 |
-
pause
|
21 |
-
)
|
22 |
-
) else if exist "%basePath%\ComfyUI_windows_portable" (
|
23 |
-
set "comfyPath=%basePath%\ComfyUI_windows_portable\ComfyUI"
|
24 |
-
set "pythonPath=%basePath%\ComfyUI_windows_portable\python_embeded"
|
25 |
-
echo ComfyUI folder detected
|
26 |
-
) else (
|
27 |
-
echo ComfyUI folder not detected, give ComfyUi folder path :
|
28 |
-
set /p "comfyPath=Path: "
|
29 |
-
echo Python folder not detected, give Python folder path :
|
30 |
-
set /p "pythonPath=Path: "
|
31 |
-
)
|
32 |
-
|
33 |
-
set "customNodesPath=%comfyPath%\custom_nodes"
|
34 |
-
|
35 |
-
echo [33mUpdate ComfyUI[0m
|
36 |
-
if exist "%basePath%\update" (
|
37 |
-
"%pythonPath%\python.exe" -m pip install --upgrade pip >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
38 |
-
"%pythonPath%\python.exe" "%basePath%\update\update.py" "%basePath%\ComfyUI" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
39 |
-
if exist update_new.py (
|
40 |
-
move /y update_new.py update.py
|
41 |
-
echo Running updater again since it got updated.
|
42 |
-
"%pythonPath%\python.exe" "%basePath%\update\update.py" "%basePath%\ComfyUI" --skip_self_update >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
43 |
-
)
|
44 |
-
) else if exist "%basePath%\ComfyUI_windows_portable\update" (
|
45 |
-
"%pythonPath%\python.exe" -m pip install --upgrade pip >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
46 |
-
"%pythonPath%\python.exe" "%basePath%\ComfyUI_windows_portable\update\update.py" "%comfyPath%" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
47 |
-
if exist update_new.py (
|
48 |
-
move /y update_new.py update.py
|
49 |
-
echo Running updater again since it got updated.
|
50 |
-
"%pythonPath%\python.exe" "%basePath%\ComfyUI_windows_portable\update\update.py" "%comfyPath%" --skip_self_update >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
51 |
-
)
|
52 |
-
) else (
|
53 |
-
git --git-dir="%comfyPath%" --work-tree="%comfyPath%" pull >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
54 |
-
"%pythonPath%\python.exe" -s -m pip install -r "%comfyPath%/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
55 |
-
)
|
56 |
-
|
57 |
-
:CHOOSE_CLEAN
|
58 |
-
REM Ask user if they want to download FLUX SCHNELL Model
|
59 |
-
echo [33mDo you want to do a clean install? (all currently present custom nodes are deleted)[0m
|
60 |
-
echo [32mA) Yes[0m
|
61 |
-
echo [32mB) No[0m
|
62 |
-
set /p "CHOOSE_CLEAN=Enter your choice (A or B) and press Enter: "
|
63 |
-
|
64 |
-
if /i "%CHOOSE_CLEAN%"=="A" (
|
65 |
-
del /s /q "%customNodesPath%\*.*" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
66 |
-
for /d %%i in ("%customNodesPath%\*") do rmdir /s /q "%%i" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
67 |
-
) else if /i "%CHOOSE_CLEAN%"=="B" (
|
68 |
-
set "CHOOSE_CLEANL=no"
|
69 |
-
) else (
|
70 |
-
echo [31mInvalid choice. Please enter A or B.[0m
|
71 |
-
goto CHOOSE_CLEAN
|
72 |
-
)
|
73 |
-
|
74 |
-
REM Clone ComfyUI-Manager
|
75 |
-
echo [33mInstalling ComfyUI-Manager...[0m
|
76 |
-
git clone https://github.com/ltdrdata/ComfyUI-Manager.git "%customNodesPath%/ComfyUI-Manager" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
77 |
-
|
78 |
-
|
79 |
-
echo [33mInstalling additional nodes...[0m
|
80 |
-
|
81 |
-
echo - Impact-Pack
|
82 |
-
git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack "%customNodesPath%/ComfyUI-Impact-Pack" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
83 |
-
"%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Impact-Pack/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
84 |
-
git clone https://github.com/ltdrdata/ComfyUI-Impact-Subpack "%customNodesPath%/ComfyUI-Impact-Pack/impact_subpack" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
85 |
-
"%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Impact-Pack/impact_subpack/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
86 |
-
"%pythonPath%\python.exe" -s -m pip install ultralytics --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
87 |
-
|
88 |
-
echo - GGUF
|
89 |
-
git clone https://github.com/city96/ComfyUI-GGUF "%customNodesPath%/ComfyUI-GGUF" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
90 |
-
"%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-GGUF/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
91 |
-
|
92 |
-
echo - mxToolkit
|
93 |
-
git clone https://github.com/Smirnov75/ComfyUI-mxToolkit "%customNodesPath%/ComfyUI-mxToolkit" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
94 |
-
|
95 |
-
echo - Custom-Scripts
|
96 |
-
git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts "%customNodesPath%/ComfyUI-Custom-Scripts" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
97 |
-
|
98 |
-
echo - KJNodes
|
99 |
-
git clone https://github.com/kijai/ComfyUI-KJNodes "%customNodesPath%/ComfyUI-KJNodes" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
100 |
-
"%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-KJNodes/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
101 |
-
|
102 |
-
echo - WanVideoWrapper
|
103 |
-
git clone https://github.com/kijai/ComfyUI-WanVideoWrapper "%customNodesPath%/ComfyUI-WanVideoWrapper" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
104 |
-
"%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-WanVideoWrapper/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
105 |
-
|
106 |
-
echo - VideoHelperSuite
|
107 |
-
git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite "%customNodesPath%/ComfyUI-VideoHelperSuite" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
108 |
-
"%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-VideoHelperSuite/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
109 |
-
|
110 |
-
echo - Frame-Interpolation
|
111 |
-
git clone https://github.com/Fannovel16/ComfyUI-Frame-Interpolation "%customNodesPath%/ComfyUI-Frame-Interpolation" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
112 |
-
"%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Frame-Interpolation/requirements-with-cupy.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
113 |
-
|
114 |
-
echo - rgthree
|
115 |
-
git clone https://github.com/rgthree/rgthree-comfy "%customNodesPath%/rgthree-comfy" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
116 |
-
"%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/rgthree-comfy/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
117 |
-
|
118 |
-
echo - Easy-Use
|
119 |
-
git clone https://github.com/yolain/ComfyUI-Easy-Use "%customNodesPath%/ComfyUI-Easy-Use" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
120 |
-
"%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Easy-Use/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
121 |
-
|
122 |
-
echo - PuLID_Flux_ll
|
123 |
-
git clone https://github.com/lldacing/ComfyUI_PuLID_Flux_ll "%customNodesPath%/ComfyUI_PuLID_Flux_ll" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
124 |
-
"%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI_PuLID_Flux_ll/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
125 |
-
curl -L -o "%basePath%\python_embeded\insightface-0.7.3-cp312-cp312-win_amd64.whl" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/whl/insightface-0.7.3-cp312-cp312-win_amd64.whl?download=true >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
126 |
-
"%pythonPath%\python.exe" -m pip install --use-pep517 facexlib >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
127 |
-
"%pythonPath%\python.exe" -m pip install git+https://github.com/rodjjo/filterpy.git >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
128 |
-
"%pythonPath%\python.exe" -m pip install onnxruntime==1.19.2 onnxruntime-gpu==1.17.1 "%basePath%\python_embeded\insightface-0.7.3-cp312-cp312-win_amd64.whl" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
129 |
-
|
130 |
-
echo - HunyuanVideoMultiLora
|
131 |
-
git clone https://github.com/facok/ComfyUI-HunyuanVideoMultiLora "%customNodesPath%/ComfyUI-HunyuanVideoMultiLora" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
132 |
-
|
133 |
-
echo - was-node-suite-comfyui
|
134 |
-
git clone https://github.com/WASasquatch/was-node-suite-comfyui "%customNodesPath%/was-node-suite-comfyui" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
135 |
-
"%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/was-node-suite-comfyui/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
136 |
-
|
137 |
-
echo - Florence2
|
138 |
-
git clone https://github.com/kijai/ComfyUI-Florence2 "%customNodesPath%/ComfyUI-Florence2">> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
139 |
-
"%pythonPath%\python.exe" -m pip install transformers==4.49.0 --upgrade >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
140 |
-
"%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Florence2/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
141 |
-
|
142 |
-
echo - Upscaler-Tensorrt
|
143 |
-
git clone https://github.com/yuvraj108c/ComfyUI-Upscaler-Tensorrt "%customNodesPath%/ComfyUI-Upscaler-Tensorrt" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
144 |
-
"%pythonPath%\python.exe" -s -m pip install wheel-stub >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
145 |
-
"%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Upscaler-Tensorrt/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
146 |
-
|
147 |
-
echo - MultiGPU
|
148 |
-
git clone https://github.com/pollockjj/ComfyUI-MultiGPU "%customNodesPath%/ComfyUI-MultiGPU" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
149 |
-
|
150 |
-
echo - WanStartEndFramesNative
|
151 |
-
git clone https://github.com/Flow-two/ComfyUI-WanStartEndFramesNative "%customNodesPath%/ComfyUI-WanStartEndFramesNative" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
152 |
-
|
153 |
-
echo - ComfyUI-Image-Saver
|
154 |
-
git clone https://github.com/alexopus/ComfyUI-Image-Saver "%customNodesPath%/ComfyUI-Image-Saver" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
155 |
-
"%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Image-Saver/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
156 |
-
|
157 |
-
echo - ComfyUI_UltimateSDUpscale
|
158 |
-
git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale "%customNodesPath%/ComfyUI_UltimateSDUpscale" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
159 |
-
|
160 |
-
echo - Controlnet_Aux
|
161 |
-
git clone https://github.com/Fannovel16/comfyui_controlnet_aux "%customNodesPath%/comfyui_controlnet_aux" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
162 |
-
"%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/comfyui_controlnet_aux/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
163 |
-
|
164 |
-
echo - X-Flux
|
165 |
-
git clone https://github.com/XLabs-AI/x-flux-comfyui "%customNodesPath%/x-flux-comfyui" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
166 |
-
"%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/x-flux-comfyui/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
167 |
-
|
168 |
-
echo - RMBG
|
169 |
-
git clone https://github.com/1038lab/ComfyUI-RMBG "%customNodesPath%/ComfyUI-RMBG" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
170 |
-
"%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-RMBG/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
171 |
-
|
172 |
-
echo - Detail-Daemon
|
173 |
-
git clone https://github.com/Jonseed/ComfyUI-Detail-Daemon "%customNodesPath%/ComfyUI-Detail-Daemon" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
174 |
-
"%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Detail-Daemon/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
175 |
-
|
176 |
-
echo - TeaCache
|
177 |
-
git clone https://github.com/welltop-cn/ComfyUI-TeaCache "%customNodesPath%/ComfyUI-TeaCache" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
178 |
-
"%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-TeaCache/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
179 |
-
|
180 |
-
echo - Crystools
|
181 |
-
git clone https://github.com/crystian/ComfyUI-Crystools "%customNodesPath%/ComfyUI-Crystools" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
182 |
-
"%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Crystools/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
|
183 |
-
|
184 |
-
echo [33mInstallation complete[0m
|
185 |
-
pause
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|