diff --git a/install-pi.sh b/install-pi.sh index 9f443ab..163c03a 100755 --- a/install-pi.sh +++ b/install-pi.sh @@ -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) diff --git a/plugins/visual-explainer/scripts/share.sh b/plugins/visual-explainer/scripts/share.sh index 37cf407..04753b5 100755 --- a/plugins/visual-explainer/scripts/share.sh +++ b/plugins/visual-explainer/scripts/share.sh @@ -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