diff --git a/glob/manager_core.py b/glob/manager_core.py index 4099f3a6..746e3878 100644 --- a/glob/manager_core.py +++ b/glob/manager_core.py @@ -42,7 +42,7 @@ import manager_downloader from node_package import InstalledNodePackage -version_code = [3, 19] +version_code = [3, 19, 1] version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '') diff --git a/js/comfyui-manager.js b/js/comfyui-manager.js index b93d33c1..ba1a9b84 100644 --- a/js/comfyui-manager.js +++ b/js/comfyui-manager.js @@ -811,8 +811,8 @@ const isOutputNode = (node) => { class ManagerMenuDialog extends ComfyDialog { createControlsMid() { let self = this; - const isElectron = 'electronAPI' in window; - + const isElectron = 'electronAPI' in window; + update_comfyui_button = $el("button.cm-button", { type: "button", diff --git a/js/custom-nodes-manager.js b/js/custom-nodes-manager.js index a3437779..dd70cb4b 100644 --- a/js/custom-nodes-manager.js +++ b/js/custom-nodes-manager.js @@ -1672,6 +1672,8 @@ export class CustomNodesManager { } async loadData(show_mode = ShowMode.NORMAL) { + const isElectron = 'electronAPI' in window; + this.show_mode = show_mode; console.log("Show mode:", show_mode); @@ -1691,6 +1693,11 @@ export class CustomNodesManager { } const { channel, node_packs } = res.data; + + if(isElectron) { + delete node_packs['comfyui-manager']; + } + this.channel = channel; this.mode = mode; this.custom_nodes = node_packs; diff --git a/pyproject.toml b/pyproject.toml index 46d4a8ed..87dea994 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui-manager" description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI." -version = "3.19" +version = "3.19.1" license = { file = "LICENSE.txt" } dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]