Make manager warning for --enable-manager not appear if is windows_standalone_build

This commit is contained in:
Jedrzej Kosinski 2025-11-26 16:32:23 -08:00
parent 4061eaa469
commit 7cf52dd51e

View File

@ -25,7 +25,8 @@ setup_logger(log_level=args.verbose, use_stdout=args.log_stdout)
def handle_comfyui_manager_unavailable():
logging.warning(f"\n\nYou appear to be running comfyui-manager from source, this is not recommended. Please install comfyui-manager using the following command:\ncommand:\n\t{sys.executable} -m pip install --pre comfyui_manager\n")
if not args.windows_standalone_build:
logging.warning(f"\n\nYou appear to be running comfyui-manager from source, this is not recommended. Please install comfyui-manager using the following command:\ncommand:\n\t{sys.executable} -m pip install --pre comfyui_manager\n")
args.enable_manager = False