iRedHat commited on
Commit
38394ec
·
verified ·
1 Parent(s): 6e11a63

Delete menu.bat

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