fix: Fixed an issue where the ID of nodes registered only in the CNR could not be properly resolved.

https://github.com/ltdrdata/ComfyUI-Manager/issues/1376
This commit is contained in:
Dr.Lt.Data 2024-12-29 08:10:59 +09:00
parent 806fdd721d
commit 890ba0f818
3 changed files with 5 additions and 2 deletions

View File

@ -36,7 +36,7 @@ import manager_downloader
from node_package import InstalledNodePackage
version_code = [3, 1]
version_code = [3, 1, 1]
version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')

View File

@ -1522,6 +1522,9 @@ export class CustomNodesManager {
for (const k in node_packs) {
let item = node_packs[k];
item.originalData = JSON.parse(JSON.stringify(item));
if(item.originalData.id == undefined) {
item.originalData.id = k;
}
item.hash = md5(k);
}

View File

@ -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.1"
version = "3.1.1"
license = { file = "LICENSE.txt" }
dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]