happyneishon commited on
Commit
cb7d654
·
verified ·
1 Parent(s): 19203e5

Upload menu.bat

Browse files
Files changed (1) hide show
  1. menu.bat +177 -0
menu.bat ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+
65
+
66
+ :command1
67
+ call :check_and_clone https://github.com/ltdrdata/ComfyUI-Manager ComfyUI-Manager
68
+ goto menu
69
+
70
+ :command2
71
+ call :check_and_clone https://github.com/cubiq/ComfyUI_IPAdapter_plus ComfyUI_IPAdapter_plus
72
+ goto menu
73
+
74
+ :command3
75
+ call :check_and_clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts ComfyUI-Custom-Scripts
76
+ goto menu
77
+
78
+ :command4
79
+ call :check_and_clone https://github.com/kijai/ComfyUI-SUPIR ComfyUI-SUPIR
80
+ goto menu
81
+
82
+ :command5
83
+ call :check_and_clone https://github.com/Gourieff/comfyui-reactor-node comfyui-reactor-node
84
+ goto menu
85
+
86
+ :command6
87
+ call :check_and_clone https://github.com/yolain/ComfyUI-Easy-Use ComfyUI-Easy-Use
88
+ goto menu
89
+
90
+ :command7
91
+ call :check_and_clone https://github.com/rgthree/rgthree-comfy rgthree-comfy
92
+ goto menu
93
+
94
+ :command8
95
+ call :check_and_clone https://github.com/11cafe/comfyui-workspace-manager comfyui-workspace-manager
96
+ goto menu
97
+
98
+ :command9
99
+ call :check_and_clone https://github.com/crystian/ComfyUI-Crystools ComfyUI-Crystools
100
+ goto menu
101
+
102
+ :command10
103
+ call :check_and_clone https://github.com/pythongosssss/ComfyUI-WD14-Tagger ComfyUI-WD14-Tagger
104
+ goto menu
105
+
106
+ :command11
107
+ call :check_and_clone https://github.com/ltdrdata/ComfyUI-Impact-Pack ComfyUI-Impact-Pack
108
+ goto menu
109
+
110
+ :command12
111
+ call :check_and_clone https://github.com/coolzilj/ComfyUI-Photopea ComfyUI-Photopea
112
+ goto menu
113
+
114
+ :command13
115
+ call :check_and_clone https://github.com/time-river/ComfyUI-CLIPSeg ComfyUI-CLIPSeg
116
+ goto menu
117
+
118
+ :command14
119
+ call :check_and_clone https://github.com/Fannovel16/comfyui_controlnet_aux comfyui_controlnet_aux
120
+ goto menu
121
+
122
+ :command15
123
+ call :check_and_clone https://github.com/Acly/comfyui-inpaint-nodes comfyui-inpaint-nodes
124
+ goto menu
125
+
126
+ :install_all
127
+ call :check_and_clone https://github.com/ltdrdata/ComfyUI-Manager ComfyUI-Manager
128
+
129
+ call :check_and_clone https://github.com/cubiq/ComfyUI_IPAdapter_plus ComfyUI_IPAdapter_plus
130
+
131
+ call :check_and_clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts ComfyUI-Custom-Scripts
132
+
133
+ call :check_and_clone https://github.com/kijai/ComfyUI-SUPIR ComfyUI-SUPIR
134
+
135
+ call :check_and_clone https://github.com/Gourieff/comfyui-reactor-node comfyui-reactor-node
136
+
137
+ call :check_and_clone https://github.com/yolain/ComfyUI-Easy-Use ComfyUI-Easy-Use
138
+
139
+ call :check_and_clone https://github.com/rgthree/rgthree-comfy rgthree-comfy
140
+
141
+ call :check_and_clone https://github.com/11cafe/comfyui-workspace-manager comfyui-workspace-manager
142
+
143
+ call :check_and_clone https://github.com/crystian/ComfyUI-Crystools ComfyUI-Crystools
144
+
145
+ call :check_and_clone https://github.com/pythongosssss/ComfyUI-WD14-Tagger ComfyUI-WD14-Tagger
146
+
147
+ call :check_and_clone https://github.com/ltdrdata/ComfyUI-Impact-Pack ComfyUI-Impact-Pack
148
+
149
+ call :check_and_clone https://github.com/coolzilj/ComfyUI-Photopea ComfyUI-Photopea
150
+
151
+ call :check_and_clone https://github.com/time-river/ComfyUI-CLIPSeg ComfyUI-CLIPSeg
152
+
153
+ call :check_and_clone https://github.com/Fannovel16/comfyui_controlnet_aux comfyui_controlnet_aux
154
+
155
+ call :check_and_clone https://github.com/Acly/comfyui-inpaint-nodes comfyui-inpaint-nodes
156
+ goto end
157
+
158
+ :skipall
159
+ call :ColorText "Пропуск установки всех команд..." "darkred"
160
+ goto end
161
+
162
+ :end
163
+ call :ColorText "==============================================================" "Yellow"
164
+ call :ColorText ".bat file menu for installing custom_nodes by TetaZina" "Green"
165
+ call :ColorText "telegram @partiaComfynistov or https://t.me/partiaComfynistov" "blue"
166
+ call :ColorText "==============================================================" "red"
167
+ call :ColorText "Завершение установки кастомных нод..." "magenta"
168
+ del /f /q %target_dir%menu.bat
169
+ exit /b
170
+
171
+ :ColorText
172
+ setlocal
173
+ set text=%~1
174
+ set color=%~2
175
+ powershell -NoProfile -ExecutionPolicy Bypass -Command "Write-Host '%text%' -ForegroundColor %color%"
176
+ exit /b
177
+ pause