Files
Adi Eyal fe6411eec2 Added install script from ComfyUI-Manager
copies dp.js to the extension folder
2023-08-02 00:42:54 +02:00

14 lines
296 B
Python

import shutil
from pathlib import Path
comfy_path = Path(__file__).parent.parent.parent
extension_path = Path(__file__).parent
js_path = comfy_path / "web" / "extensions"
def copy_web_extensions():
shutil.copy(extension_path / "web-extensions/dp.js", str(js_path))
copy_web_extensions()