Files
Oliver Switzer be5cd2268b chore: update Python version and dependencies, add installation script
- Added .python-version file to specify Python 3.12.
- Updated pdm.lock to reflect new lock version and Python requirements.
- Enhanced pyproject.toml to include scipy as a dependency.
- Introduced install_node_to_comfy.sh script for easier node installation.
2025-09-06 23:47:46 -04:00

20 lines
455 B
Bash

#!/usr/bin/env bash
# Set paths
COMFYUI_DIR="../ComfyUI"
NODE_NAME="comfyui-lora-visualizer"
TARGET="$COMFYUI_DIR/custom_nodes/$NODE_NAME"
SOURCE="$(pwd)"
# Remove existing directory or symlink
if [ -e "$TARGET" ] || [ -L "$TARGET" ]; then
echo "Removing existing $TARGET"
rm -rf "$TARGET"
fi
# Create symlink
echo "Creating symlink: $TARGET -> $SOURCE"
ln -s "$SOURCE" "$TARGET"
# Verify
ls -l "$COMFYUI_DIR/custom_nodes/" | grep "$NODE_NAME"