diff --git a/.github/workflows/test-mac.yml b/.github/workflows/test-mac.yml index 8b351070..c4ea246b 100644 --- a/.github/workflows/test-mac.yml +++ b/.github/workflows/test-mac.yml @@ -28,6 +28,4 @@ jobs: python -m pip install --upgrade pip pip install -e . comfy --skip-prompt --workspace ./ComfyUI install --fast-deps --m-series --skip-manager - comfy --workspace ./ComfyUI standalone --platform macos - comfy standalone --rehydrate - ./python/bin/python ComfyUI/main.py --cpu --quick-test-for-ci + comfy --here launch -- --cpu --quick-test-for-ci diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index ecb1fc0b..a13b14d9 100755 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -30,7 +30,4 @@ jobs: pip install pytest pip install -e . comfy --skip-prompt --workspace ./ComfyUI install --fast-deps --nvidia --cuda-version 12.6 --skip-manager - comfy --workspace ./ComfyUI standalone --platform windows --proc x86_64 - ls - comfy standalone --rehydrate --platform windows --proc x86_64 - ./python/python.exe ComfyUI/main.py --cpu --quick-test-for-ci + comfy --here launch -- --cpu --quick-test-for-ci diff --git a/comfy_cli/command/custom_nodes/command.py b/comfy_cli/command/custom_nodes/command.py index b536eaa6..06001b8d 100644 --- a/comfy_cli/command/custom_nodes/command.py +++ b/comfy_cli/command/custom_nodes/command.py @@ -392,7 +392,7 @@ def install( ), ] = None, fast_deps: Annotated[ - Optional[bool], + bool, typer.Option( "--fast-deps", show_default=False, @@ -649,7 +649,7 @@ def install_deps( execute_cm_cli( ["deps-in-workflow", "--workflow", workflow, "--output", tmp_path], channel, - mode, + mode=mode, ) deps_file = tmp_path @@ -689,7 +689,7 @@ def deps_in_workflow( execute_cm_cli( ["deps-in-workflow", "--workflow", workflow, "--output", output], channel, - mode, + mode=mode, ) diff --git a/comfy_cli/command/launch.py b/comfy_cli/command/launch.py index b1881006..52885e66 100644 --- a/comfy_cli/command/launch.py +++ b/comfy_cli/command/launch.py @@ -48,7 +48,7 @@ def launch_comfyui(extra): exit(res) if not os.path.exists(reboot_path): - exit(res) + exit(res.returncode) os.remove(reboot_path) else: