- Add a install button just below the NodeDetails
- When onClick, open a new window that will redirect to comfy://install-custom-node/:nodeId, (and show "Install Latest ComfyUI Desktop Application" if fail to launch ComfyUI by comfy://install-custom-node/:nodeId)
FYI: You can detect if ComfyUI is running by, but don't call it without user's action.
fetch('http://localhost:8000/api/settings').then(e=>e.json()).then(e=>e["Comfy.Server.ServerConfigValues"])