Delete update.bat
Browse files- update.bat +0 -27
update.bat
DELETED
|
@@ -1,27 +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 for updating instaled ComfyUI and Nodes by Skiffbox" "Green"
|
| 13 |
-
|
| 14 |
-
cd %custom_n% && %gi%git pull
|
| 15 |
-
%py%python.exe -s -m pip install -r %target_dir%ComfyUI/requirements.txt
|
| 16 |
-
rem %py%python.exe -s -m pip install --upgrade torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121 -r %target_dir%ComfyUI/requirements.txt pygit2
|
| 17 |
-
cd %target_dir%
|
| 18 |
-
endlocal
|
| 19 |
-
exit /b
|
| 20 |
-
|
| 21 |
-
:ColorText
|
| 22 |
-
setlocal
|
| 23 |
-
set text=%~1
|
| 24 |
-
set color=%~2
|
| 25 |
-
powershell -NoProfile -ExecutionPolicy Bypass -Command "Write-Host '%text%' -ForegroundColor %color%"
|
| 26 |
-
endlocal
|
| 27 |
-
exit /b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|