#!/bin/sh
# cross-platform installer entry point
# delegates to Node.js implementation

SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"

if command -v node >/dev/null 2>&1; then
    exec node "$SCRIPT_DIR/install.js" "$@"
else
    echo "Error: Node.js is not installed or not in PATH" >&2
    exit 1
fi