happyneishon commited on
Commit
7facfc3
1 Parent(s): 13f80a5

Upload menu.bat

Browse files
Files changed (1) hide show
  1. menu.bat +172 -0
menu.bat ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @echo off
2
+ setlocal
3
+ cd /d %~dp0
4
+ set target_dir=%~dp0
5
+ chcp 65001 > nul
6
+ set custom_n=%target_dir%ComfyUI\custom_nodes
7
+ set py=%target_dir%python\
8
+
9
+ call :ColorText "==============================================================" "Yellow"
10
+ call :ColorText ".bat file menu for installing custom_nodes by TetaZina" "Green"
11
+ call :ColorText "telegram @partiaComfynistov or https://t.me/partiaComfynistov" "blue"
12
+ call :ColorText "==============================================================" "red"
13
+
14
+ :menu
15
+ call :ColorText "========================================" "Cyan"
16
+ call :ColorText "Выберите команду для выполнения:" "Cyan"
17
+ call :ColorText "1. установить ComfyUI-Manager" "blue"
18
+ call :ColorText "2. установить ComfyUI_IPAdapter_plus" "blue"
19
+ call :ColorText "3. установить ComfyUI-Custom-Scripts" "blue"
20
+ call :ColorText "4. установить ComfyUI-SUPIR" "blue"
21
+ call :ColorText "5. установить comfyui-reactor-node" "blue"
22
+ call :ColorText "6. установить ComfyUI-Easy-Use" "blue"
23
+ call :ColorText "7. установить rgthree-comfy" "blue"
24
+ call :ColorText "8. установить comfyui-workspace-manager" "blue"
25
+ call :ColorText "9. установить ComfyUI-Crystools" "blue"
26
+ call :ColorText "a. установить ComfyUI-WD14-Tagger" "blue"
27
+ call :ColorText "b. установить ComfyUI-Impact-Pack" "blue"
28
+ call :ColorText "c. установить ComfyUI-Photopea" "blue"
29
+ call :ColorText "d. установить ComfyUI-CLIPSeg" "blue"
30
+ call :ColorText "e. установить comfyui_controlnet_aux" "blue"
31
+ call :ColorText "f. установить comfyui-inpaint-nodes" "blue"
32
+ call :ColorText "g. Установить все кастомные ноды" "green"
33
+ call :ColorText "h. Пропустить установку кастомных нод" "darkred"
34
+ call :ColorText "========================================" "Cyan"
35
+ choice /c 123456789ABCDEFGH /n /m "Введите ваш выбор: "
36
+
37
+ if errorlevel 17 goto skipall
38
+ if errorlevel 16 goto install_all
39
+ if errorlevel 15 goto command15
40
+ if errorlevel 14 goto command14
41
+ if errorlevel 13 goto command13
42
+ if errorlevel 12 goto command12
43
+ if errorlevel 11 goto command11
44
+ if errorlevel 10 goto command10
45
+ if errorlevel 9 goto command9
46
+ if errorlevel 8 goto command8
47
+ if errorlevel 7 goto command7
48
+ if errorlevel 6 goto command6
49
+ if errorlevel 5 goto command5
50
+ if errorlevel 4 goto command4
51
+ if errorlevel 3 goto command3
52
+ if errorlevel 2 goto command2
53
+ if errorlevel 1 goto command1
54
+
55
+ :check_and_clone
56
+ if exist %custom_n%\%2 (
57
+ call :ColorText "%2 уже установлено, пропуск..." "yellow"
58
+ ) else (
59
+ %target_dir%git\git\bin\git clone %1 %custom_n%\%2
60
+ if exist %custom_n%\%2\requirements.txt (
61
+ %py%python -m pip install -r %custom_n%\%2\requirements.txt
62
+ )
63
+ )
64
+ goto menu
65
+
66
+ :command1
67
+ call :check_and_clone https://github.com/ltdrdata/ComfyUI-Manager ComfyUI-Manager
68
+
69
+ :command2
70
+ call :check_and_clone https://github.com/cubiq/ComfyUI_IPAdapter_plus ComfyUI_IPAdapter_plus
71
+
72
+ :command3
73
+ call :check_and_clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts ComfyUI-Custom-Scripts
74
+
75
+ :command4
76
+ call :check_and_clone https://github.com/kijai/ComfyUI-SUPIR ComfyUI-SUPIR
77
+
78
+ :command5
79
+ call :check_and_clone https://github.com/Gourieff/comfyui-reactor-node comfyui-reactor-node
80
+
81
+ :command6
82
+ call :check_and_clone https://github.com/yolain/ComfyUI-Easy-Use ComfyUI-Easy-Use
83
+
84
+ :command7
85
+ call :check_and_clone https://github.com/rgthree/rgthree-comfy rgthree-comfy
86
+
87
+ :command8
88
+ call :check_and_clone https://github.com/11cafe/comfyui-workspace-manager comfyui-workspace-manager
89
+
90
+ :command9
91
+ call :check_and_clone https://github.com/crystian/ComfyUI-Crystools ComfyUI-Crystools
92
+
93
+ :command10
94
+ call :check_and_clone https://github.com/pythongosssss/ComfyUI-WD14-Tagger ComfyUI-WD14-Tagger
95
+
96
+ :command11
97
+ call :check_and_clone https://github.com/ltdrdata/ComfyUI-Impact-Pack ComfyUI-Impact-Pack
98
+
99
+ :command12
100
+ call :check_and_clone https://github.com/coolzilj/ComfyUI-Photopea ComfyUI-Photopea
101
+
102
+ :command13
103
+ call :check_and_clone https://github.com/time-river/ComfyUI-CLIPSeg ComfyUI-CLIPSeg
104
+
105
+ :command14
106
+ call :check_and_clone https://github.com/Fannovel16/comfyui_controlnet_aux comfyui_controlnet_aux
107
+
108
+ :command15
109
+ call :check_and_clone https://github.com/Acly/comfyui-inpaint-nodes comfyui-inpaint-nodes
110
+
111
+ :install_all
112
+ %target_dir%git\git\bin\git clone https://github.com/ltdrdata/ComfyUI-Manager %custom_n%\ComfyUI-Manager
113
+ %py%python -m pip install -r %custom_n%\ComfyUI-Manager\requirements.txt
114
+
115
+ %target_dir%git\git\bin\git clone https://github.com/cubiq/ComfyUI_IPAdapter_plus %custom_n%\ComfyUI_IPAdapter_plus
116
+
117
+ %target_dir%git\git\bin\git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts %custom_n%\ComfyUI-Custom-Scripts
118
+
119
+ %target_dir%git\git\bin\git clone https://github.com/kijai/ComfyUI-SUPIR %custom_n%\ComfyUI-SUPIR
120
+ %py%python -m pip install -r %custom_n%\ComfyUI-SUPIR\requirements.txt
121
+
122
+ %target_dir%git\git\bin\git clone https://github.com/Gourieff/comfyui-reactor-node %custom_n%\comfyui-reactor-node
123
+ %py%python -m pip install -r %custom_n%\comfyui-reactor-node\requirements.txt
124
+
125
+ %target_dir%git\git\bin\git clone https://github.com/yolain/ComfyUI-Easy-Use %custom_n%\ComfyUI-Easy-Use
126
+ %py%python -m pip install -r %custom_n%\ComfyUI-Easy-Use\requirements.txt
127
+
128
+ %target_dir%git\git\bin\git clone https://github.com/rgthree/rgthree-comfy %custom_n%\rgthree-comfy
129
+ %py%python -m pip install -r %custom_n%\rgthree-comfy\requirements.txt
130
+
131
+ %target_dir%git\bin\git clone https://github.com/11cafe/comfyui-workspace-manager %custom_n%\comfyui-workspace-manager
132
+
133
+ %target_dir%git\git\bin\git clone https://github.com/crystian/ComfyUI-Crystools %custom_n%\ComfyUI-Crystools
134
+ %py%python -m pip install -r %custom_n%\ComfyUI-Crystools\requirements.txt
135
+
136
+ %target_dir%git\git\bin\git clone https://github.com/pythongosssss/ComfyUI-WD14-Tagger %custom_n%\ComfyUI-WD14-Tagger
137
+ %py%python -m pip install -r %custom_n%\ComfyUI-WD14-Tagger\requirements.txt
138
+
139
+ %target_dir%git\git\bin\git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack %custom_n%\ComfyUI-Impact-Pack
140
+ %py%python -m pip install -r %custom_n%\ComfyUI-Impact-Pack\requirements.txt
141
+
142
+ %target_dir%git\git\bin\git clone https://github.com/coolzilj/ComfyUI-Photopea %custom_n%\ComfyUI-Photopea
143
+
144
+ %target_dir%git\git\bin\git clone https://github.com/time-river/ComfyUI-CLIPSeg %custom_n%\ComfyUI-CLIPSeg
145
+ %py%python -m pip install -r %custom_n%\ComfyUI-CLIPSeg\requirements.txt
146
+
147
+ %target_dir%git\git\bin\git clone https://github.com/Fannovel16/comfyui_controlnet_aux %custom_n%\comfyui_controlnet_aux
148
+ %py%python -m pip install -r %custom_n%\comfyui_controlnet_aux\requirements.txt
149
+
150
+ %target_dir%git\git\bin\git clone https://github.com/Acly/comfyui-inpaint-nodes %custom_n%\comfyui-inpaint-nodes
151
+ goto end
152
+
153
+ :skipall
154
+ call :ColorText "Пропуск установки всех команд..." "darkred"
155
+ goto end
156
+
157
+ :end
158
+ call :ColorText "==============================================================" "Yellow"
159
+ call :ColorText ".bat file menu for installing custom_nodes by TetaZina" "Green"
160
+ call :ColorText "telegram @partiaComfynistov or https://t.me/partiaComfynistov" "blue"
161
+ call :ColorText "==============================================================" "red"
162
+ call :ColorText "Завершение установки кастомных нод..." "magenta"
163
+ del /f /q %target_dir%menu.bat
164
+ exit /b
165
+
166
+ :ColorText
167
+ setlocal
168
+ set text=%~1
169
+ set color=%~2
170
+ powershell -NoProfile -ExecutionPolicy Bypass -Command "Write-Host '%text%' -ForegroundColor %color%"
171
+ exit /b
172
+ pause