iRedHat commited on
Commit
2b476aa
·
verified ·
1 Parent(s): 38316af

Delete menu.bat

Browse files
Files changed (1) hide show
  1. menu.bat +0 -47
menu.bat DELETED
@@ -1,47 +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
- set gi=%target_dir%git\bin\
8
- set PATH=%target_dir%git\bin;%target_dir%git\libexec;%py%Scripts;%py%Library\bin;%PATH%;
9
-
10
- call :ColorText "=============================================================" "Yellow"
11
- call :ColorText ".bat file install custom_nodes for ComfyUI by Skiffbox" "Green"
12
-
13
- call :check_and_clone https://github.com/ltdrdata/ComfyUI-Manager ComfyUI-Manager
14
- call :check_and_clone https://github.com/crystian/ComfyUI-Crystools ComfyUI-Crystools
15
- call :check_and_clone https://github.com/11cafe/comfyui-workspace-manager comfyui-workspace-manager
16
- call :check_and_clone https://github.com/hayden-fr/ComfyUI-Model-Manager ComfyUI-Model-Manager
17
- call :check_and_clone https://github.com/talesofai/comfyui-browser comfyui-browser
18
-
19
- :end
20
- call :ColorText "=============================================================" "Yellow"
21
- call :ColorText "install custom_nodes for ComfyUI by Skiffbox .bat file" "Green"
22
- call :ColorText "Завершение установки кастомных нод..." "magenta"
23
- endlocal
24
- exit /b
25
-
26
- :check_and_clone
27
- if exist %custom_n%\%2 (
28
- call :ColorText "%2 уже установлено, пропуск..." "yellow"
29
- ) else (
30
- call :ColorText "=============================================================" "Yellow"
31
- call :ColorText "Installing %2" "Green"
32
- %gi%git clone %1 %custom_n%\%2
33
- if exist %custom_n%\%2\requirements.txt (
34
- %py%python -m pip install -r %custom_n%\%2\requirements.txt
35
- call :ColorText "=============================================================" "red"
36
- )
37
- )
38
- exit /b
39
-
40
- :ColorText
41
- setlocal
42
- set text=%~1
43
- set color=%~2
44
- powershell -NoProfile -ExecutionPolicy Bypass -Command "Write-Host '%text%' -ForegroundColor %color%"
45
- endlocal
46
- exit /b
47
-