FIXED: Resolved an issue where the nightly version was always blocked by the security filter.

FIXED: Ensured that at least one reload occurs during startup.

https://github.com/ltdrdata/ComfyUI-Manager/issues/1437
This commit is contained in:
Dr.Lt.Data 2025-01-11 23:55:14 +09:00
parent c663907e37
commit 0903f28b0c
3 changed files with 7 additions and 3 deletions

View File

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

View File

@ -867,7 +867,7 @@ async def install_custom_node(request):
node_spec_str = f"{cnr_id}@{selected_version}"
else:
node_spec_str = f"{cnr_id}@nightly"
git_url = json_data.get('reference')
git_url = [json_data.get('reference')]
if git_url is None:
logging.error(f"[ComfyUI-Manager] Following node pack doesn't provide `nightly` version: ${git_url}")
return web.Response(status=404, text=f"Following node pack doesn't provide `nightly` version: ${git_url}")
@ -1414,6 +1414,10 @@ async def default_cache_update():
await asyncio.gather(a, b, c, d, e)
# load at least once
await core.unified_manager.reload('cache')
await core.unified_manager.get_custom_nodes('default', 'cache')
# NOTE: hide migration button temporarily.
# if not core.get_config()['skip_migration_check']:
# await core.check_need_to_migrate()

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