使用 ComfyUI Manager
要让你的自定义节点通过 ComfyUI Manager 提供,你需要将其保存为 git 仓库(通常在github.com),
然后在 ComfyUI Manager 的 git 仓库提交一个 Pull Request,在其中编辑 custom-node-list.json 以添加你的节点。
详细说明。
当用户安装节点时,ComfyUI Manager 会:
ComfyUI Manager 文件
如上所述,ComfyUI Manager 会使用一些文件和脚本来管理自定义节点的生命周期。这些都是可选的。requirements.txt- 如上所述的 Python 依赖install.py,uninstall.py- 安装或卸载自定义节点时执行disable.py,enable.py- 禁用或重新启用自定义节点时执行node_list.json- 仅当自定义节点的 NODE_CLASS_MAPPINGS 模式不符合常规时才需要。