#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")

case `uname` in
    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac

if [ -z "$NODE_PATH" ]; then
  export NODE_PATH="/run/media/oatmealine/8014a2d1-7458-4ad8-a9bc-fa018042a411/games/MultiMC/instances/Fire Pit 1.19.2/.minecraft/packwiz/config/openloader/resources/firepit/assets/firepit/tips/node_modules/.pnpm/node_modules"
else
  export NODE_PATH="$NODE_PATH:/run/media/oatmealine/8014a2d1-7458-4ad8-a9bc-fa018042a411/games/MultiMC/instances/Fire Pit 1.19.2/.minecraft/packwiz/config/openloader/resources/firepit/assets/firepit/tips/node_modules/.pnpm/node_modules"
fi
if [ -x "$basedir/node" ]; then
  exec "$basedir/node"  "$basedir/../../bin/marked.js" "$@"
else
  exec node  "$basedir/../../bin/marked.js" "$@"
fi
