Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions install-pi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ cp -r plugins/visual-explainer "$SKILL_DIR"
# Replace {{skill_dir}} with actual path
echo "Patching paths..."
if [[ "$OSTYPE" == "darwin"* ]]; then
find "$SKILL_DIR" -name "*.md" -exec sed -i '' "s|{{skill_dir}}|$SKILL_DIR|g" {} \;
find "$SKILL_DIR" -name "*.md" -exec sed -i '' "s#{{skill_dir}}#$SKILL_DIR#g" {} \;
else
find "$SKILL_DIR" -name "*.md" -exec sed -i "s|{{skill_dir}}|$SKILL_DIR|g" {} \;
find "$SKILL_DIR" -name "*.md" -exec sed -i "s#{{skill_dir}}#$SKILL_DIR#g" {} \;
fi

# Copy prompts (slash commands)
Expand Down
1 change: 1 addition & 0 deletions plugins/visual-explainer/scripts/share.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ trap 'rm -rf "$TEMP_DIR"' EXIT
cp "$HTML_FILE" "$TEMP_DIR/index.html"

echo -e "${CYAN}Sharing $(basename "$HTML_FILE")...${NC}" >&2
echo -e "⚠ Deployment is PUBLIC — anyone with the URL can view this file." >&2

# Deploy via vercel-deploy skill
# Temporarily disable errexit to capture deployment errors
Expand Down