- 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.
20 lines
455 B
Bash
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" |