diff --git a/requirement.txt b/requirements.txt similarity index 100% rename from requirement.txt rename to requirements.txt diff --git a/web-plugin/index.js b/web-plugin/index.js index beb40bd..1c7c760 100644 --- a/web-plugin/index.js +++ b/web-plugin/index.js @@ -450,6 +450,16 @@ function addButton() { existingDependencies: existing_workflow.dependencies, }); + if ( + !deps.custom_nodes["https://github.com/BennyKok/comfyui-deploy"] || + !deps.custom_nodes["https://github.com/BennyKok/comfyui-deploy.git"] + ) + deps.custom_nodes["https://github.com/BennyKok/comfyui-deploy"] = { + url: "https://github.com/BennyKok/comfyui-deploy", + install_type: "git-clone", + name: "ComfyUI Deploy", + }; + loadingDialog.close(); const depsOk = await confirmDialog.confirm(