diff --git a/comfy/__init__.py b/comfy/__init__.py index 1bc71ad..f3e4039 100644 --- a/comfy/__init__.py +++ b/comfy/__init__.py @@ -4,8 +4,11 @@ import json import asyncio import threading import numpy as np +import platform from .utils import auto_install_ps_plugin -auto_install_ps_plugin() + +if platform.system() == 'Windows': + auto_install_ps_plugin() from .sdppp import SDPPP sdppp = SDPPP(PromptServer) diff --git a/comfy/static/plugins/sd-ppp_PS.ccx b/comfy/static/plugins/sd-ppp_PS.ccx index 985dad5..ca4523c 100644 Binary files a/comfy/static/plugins/sd-ppp_PS.ccx and b/comfy/static/plugins/sd-ppp_PS.ccx differ diff --git a/readme.md b/readme.md index 295c9b8..ccca4bd 100644 --- a/readme.md +++ b/readme.md @@ -6,12 +6,12 @@ ![cmanager](doc/image/comfymanager.png) 2. install Photoshop plugin - 1. by CXX: + 1. by CCX: 1. download `http:///extensions/sd-ppp/plugins/sd-ppp_PS.ccx`. 2. double click the `.ccx` file. Or place it into photoshop's plugin directory. 2. by UXP develop Tool (you can debug the code this way): 1. clone this repository - 2. [optionnal] run `npm install` and `npm build` in `photoshop` directory. (if you want to debug or modify the code) + 2. [optional] Run `npm install` and `npm build` in `photoshop` directory. (if you want to debug or modify the code) 3. click `Add Plugin` in UXP Develop Tool by selecting `photoshop/dist/manifest.json`. 3. connect to comfyUI in Photoshop