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
This commit is contained in:
Your Name
2025-10-27 17:26:28 +09:00
parent b8f08b4fe0
commit d6025c7659
+4 -2
View File
@@ -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