if pip package, force offline mode

This commit is contained in:
bymyself
2025-04-10 12:46:10 -07:00
parent cd8e87a3fb
commit 6e1c906aff
4 changed files with 35 additions and 11 deletions

View File

@@ -26,6 +26,8 @@ cache_dir = os.path.join(comfyui_manager_path, '.cache') # This path is also up
use_uv = False
def is_manager_pip_package():
return not os.path.exists(os.path.join(comfyui_manager_path, '..', 'custom_nodes'))
def add_python_path_to_env():
if platform.system() != "Windows":