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

case `uname` in
    *CYGWIN*|*MINGW*|*MSYS*)
        if command -v cygpath > /dev/null 2>&1; then
            basedir=`cygpath -w "$basedir"`
        fi
    ;;
esac

if [ -z "$NODE_PATH" ]; then
  export NODE_PATH="/mnt/c/Users/floris/Documents/GitHub/athena-auth/apps/demo/node_modules/.pnpm/@xylex-group+athena@2.0.0_react@19.2.0/node_modules/@xylex-group/athena/node_modules:/mnt/c/Users/floris/Documents/GitHub/athena-auth/apps/demo/node_modules/.pnpm/@xylex-group+athena@2.0.0_react@19.2.0/node_modules:/mnt/c/Users/floris/Documents/GitHub/athena-auth/apps/demo/node_modules/.pnpm/node_modules"
else
  export NODE_PATH="/mnt/c/Users/floris/Documents/GitHub/athena-auth/apps/demo/node_modules/.pnpm/@xylex-group+athena@2.0.0_react@19.2.0/node_modules/@xylex-group/athena/node_modules:/mnt/c/Users/floris/Documents/GitHub/athena-auth/apps/demo/node_modules/.pnpm/@xylex-group+athena@2.0.0_react@19.2.0/node_modules:/mnt/c/Users/floris/Documents/GitHub/athena-auth/apps/demo/node_modules/.pnpm/node_modules:$NODE_PATH"
fi
if [ -x "$basedir/node" ]; then
  exec "$basedir/node"  "$basedir/../@xylex-group/athena/bin/athena-js.js" "$@"
else
  exec node  "$basedir/../@xylex-group/athena/bin/athena-js.js" "$@"
fi
# cmd-shim-target=C:/Users/floris/Documents/GitHub/athena-auth/apps/demo/packages/athena-auth-js/node_modules/@xylex-group/athena/bin/athena-js.js
