From 6d1dd93b47c54f02b58abca6a1e9d093f952eff2 Mon Sep 17 00:00:00 2001 From: bennykok Date: Sat, 17 Feb 2024 23:10:09 +0800 Subject: [PATCH] fix: typo name --- requirement.txt => requirements.txt | 0 web-plugin/index.js | 10 ++++++++++ 2 files changed, 10 insertions(+) rename requirement.txt => requirements.txt (100%) 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(