iRedHat commited on
Commit
8c7f9d6
·
verified ·
1 Parent(s): c13f817

Delete my-install.bat

Browse files
Files changed (1) hide show
  1. my-install.bat +0 -73
my-install.bat DELETED
@@ -1,73 +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
-
8
- call :ColorText "=============================================================" "Yellow"
9
- call :ColorText ".bat file for installing ComfyUI by Skiffbox" "Green"
10
-
11
- call :ColorText "=============================================================" "Yellow"
12
- echo Installing wget
13
- curl --ssl-no-revoke -L -o wget.exe https://huggingface.co/iRedHat/iBat-ComfyUI/resolve/main/wget.exe
14
- call :ColorText "Install wget complete" "Green"
15
-
16
- call :ColorText "=============================================================" "Yellow"
17
- call :ColorText "Downloading and unzip python+git" "Green"
18
- cd %target_dir%
19
- %target_dir%wget.exe -c -q -O pygit.bat https://huggingface.co/iRedHat/iBat-ComfyUI/resolve/main/pygit.bat
20
- call %target_dir%pygit.bat
21
- del /f /q %target_dir%pygit.bat
22
-
23
- cd %target_dir%
24
- %target_dir%wget.exe -c -q -O install_modules.py https://huggingface.co/iRedHat/iBat-ComfyUI/resolve/main/install_modules.py
25
- %py%python.exe install_modules.py
26
- del /f /q %target_dir%install_modules.py
27
- del /f /q %target_dir%insightface-0.7.3-cp311-cp311-win_amd64.whl
28
-
29
- call :ColorText "=============================================================" "Yellow"
30
- call :ColorText "run menu.bat and install custom nodes" "Green"
31
- cd %target_dir%
32
- %target_dir%wget.exe -c -q -O min_nodes.bat https://huggingface.co/iRedHat/iBat-ComfyUI/resolve/main/min_nodes.bat
33
- call %target_dir%min_nodes.bat
34
- rem del /f /q %target_dir%min_nodes.bat
35
-
36
- call :ColorText "=============================================================" "Yellow"
37
- call :ColorText "Download update.bat file" "Green"
38
- %target_dir%wget.exe -c -q -O update.bat https://huggingface.co/iRedHat/iBat-ComfyUI/resolve/main/update.bat
39
- %target_dir%wget.exe -c -q -O models_links.bat https://huggingface.co/iRedHat/iBat-ComfyUI/resolve/main/models_links.bat
40
- %target_dir%wget.exe -c -q -O rename_list.txt https://huggingface.co/iRedHat/iBat-ComfyUI/resolve/main/rename_list.txt
41
- %target_dir%wget.exe -c -q -O update_git_pull.bat https://huggingface.co/iRedHat/iBat-ComfyUI/resolve/main/update_git_pull.bat
42
- call %target_dir%update.bat
43
- rem call %target_dir%models_links.bat
44
-
45
- call :ColorText "=============================================================" "Yellow"
46
- call :ColorText "Building run.bat file" "Green"
47
- echo @echo off> run.bat
48
- echo setlocal>> run.bat
49
- echo chcp 65001 > nul>> run.bat
50
- echo set target_dir=%~dp0>> run.bat
51
- echo set PATH=%target_dir%git\bin;%target_dir%git\libexec\;%target_dir%python_embeded;%target_dir%python_embeded\Library\bin;%target_dir%python_embeded\Scripts>> run.bat
52
- echo set COMFYUI_PATH=%target_dir%ComfyUI>> run.bat
53
- echo set COMFYUI_MODEL_PATH=%target_dir%ComfyUI\models>> run.bat
54
- echo %target_dir%python_embeded\python %target_dir%ComfyUI\main.py --auto-launch --lowvram>> run.bat
55
- echo pause>> run.bat
56
-
57
- call :ColorText "=============================================================" "Yellow"
58
- call :ColorText "Starting ComfyUI - run.bat" "Green"
59
- start "" "%target_dir%run.bat"
60
-
61
- call :ColorText "=============================================================" "Yellow"
62
- call :ColorText "Installation of ComfyUI and Nodes complete by Skiffbox" "Green"
63
-
64
- pause
65
- exit /b
66
-
67
- :ColorText
68
- setlocal
69
- set text=%~1
70
- set color=%~2
71
- powershell -NoProfile -ExecutionPolicy Bypass -Command "Write-Host '%text%' -ForegroundColor %color%"
72
- endlocal
73
- exit /b