From d6025c765950b1ecf05141d9dfd1812c5c33412e Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 27 Oct 2025 17:26:28 +0900 Subject: [PATCH] Add portable ComfyUI support - Issue #10 - Add install_qwen_lora_portable.bat for embedded Python environments - Automatically detects python_embeded folder in multiple possible locations - Works with any ComfyUI folder name (not just 'ComfyUI') - Supports both standard and portable ComfyUI structures: - Pattern 1: ComfyUI/python_embeded/python.exe - Pattern 2: [ParentFolder]/python_embeded/python.exe - Update README.md with installation options for both regular and portable installations - Addresses Issue #10 suggestion for portable ComfyUI compatibility - Tested successfully on actual ComfyUI environment --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b0ed444..988cad5 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,8 @@ git clone https://github.com/ussoewwin/ComfyUI-QwenImageLoraLoader.git 2. Ensure you have the official ComfyUI-nunchaku plugin installed (which includes nunchaku as a dependency). 3. **Run the installation script:** - - Double-click `install_qwen_lora.bat` to automatically configure the integration + - **For regular ComfyUI installations**: Double-click `install_qwen_lora.bat` + - **For portable ComfyUI installations with embedded Python**: Double-click `install_qwen_lora_portable.bat` - This script will automatically modify the ComfyUI-nunchaku `__init__.py` file - Restart ComfyUI @@ -91,7 +92,8 @@ except ImportError: - Provides user feedback throughout the process 2. **Run the installation script:** - - Double-click `install_qwen_lora.bat` to automatically configure the integration + - **For regular ComfyUI installations**: Double-click `install_qwen_lora.bat` + - **For portable ComfyUI installations with embedded Python**: Double-click `install_qwen_lora_portable.bat` - No manual code editing required - the script handles everything - Restart ComfyUI after installation