fixed: install via git url - failed to install if the git url is exists in the default channel

https://github.com/ltdrdata/ComfyUI-Manager/issues/1651#issuecomment-2720408569
This commit is contained in:
Dr.Lt.Data committed 2025-03-14 12:53:59 +09:00
1 parent e05f329602
commit 79943de808
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -43,7 +43,7 @@ import manager_downloader
from node_package import InstalledNodePackage
version_code = [3, 31]
version_code = [3, 31, 1]
version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')
@@ -2098,7 +2098,7 @@ async def gitclone_install(url, instant_execution=False, msg_prefix='', no_deps=
cnr = unified_manager.get_cnr_by_repo(url)
if cnr:
cnr_id = cnr['id']
return await unified_manager.install_by_id(cnr_id, version_spec='nightly')
return await unified_manager.install_by_id(cnr_id, version_spec='nightly', channel='default')
else:
repo_name = os.path.splitext(os.path.basename(url))[0]
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.