mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-08-16 01:36:41 +08:00
changes
This commit is contained in:
parent
ca39bf4fa8
commit
2b2a1ef33a
36
2_INSTALL_CUSTOM_NODES.bat
Normal file
36
2_INSTALL_CUSTOM_NODES.bat
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
@echo off
|
||||||
|
setlocal
|
||||||
|
|
||||||
|
set "ROOT=D:\4090_ComfyUI"
|
||||||
|
pushd "%ROOT%"
|
||||||
|
|
||||||
|
:: Activate venv, then list packages
|
||||||
|
for %%A in ("venv\Scripts\activate.bat" ".venv\Scripts\activate.bat") do (
|
||||||
|
if exist "%%~A" (
|
||||||
|
call "%%~A"
|
||||||
|
goto after_venv
|
||||||
|
)
|
||||||
|
)
|
||||||
|
:after_venv
|
||||||
|
pip list
|
||||||
|
|
||||||
|
:: Ensure custom_nodes exists
|
||||||
|
set "CNDIR=%ROOT%\custom_nodes"
|
||||||
|
if not exist "%CNDIR%\" mkdir "%CNDIR%"
|
||||||
|
|
||||||
|
:: Check for ComfyUI-Manager and clone if missing
|
||||||
|
set "TARGET=%CNDIR%\ComfyUI-Manager"
|
||||||
|
if exist "%TARGET%\NUL" (
|
||||||
|
echo %TARGET%
|
||||||
|
) else (
|
||||||
|
echo ComfyUI-Manager folder not found.
|
||||||
|
echo Cloning into "%TARGET%" ...
|
||||||
|
git clone --depth 1 https://github.com/Comfy-Org/ComfyUI-Manager "%TARGET%"
|
||||||
|
if errorlevel 1 (
|
||||||
|
echo git clone failed with errorlevel %errorlevel%.
|
||||||
|
) else (
|
||||||
|
echo Clone complete.
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
pause
|
||||||
6
desktop.ini
Normal file
6
desktop.ini
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[.ShellClassInfo]
|
||||||
|
IconResource=C:\Users\james\Downloads\comfyui_logo.ico,0
|
||||||
|
[ViewState]
|
||||||
|
Mode=
|
||||||
|
Vid=
|
||||||
|
FolderType=Generic
|
||||||
Loading…
x
Reference in New Issue
Block a user