happyneishon commited on
Commit
8a407e9
1 Parent(s): e60505c

Delete menu.bat

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