#!/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="/docker/codeserver/project/test/d8d-webcontainer/release_server/node_modules/.pnpm/@d8d-localtunnel+client@1.0.1/node_modules/@d8d-localtunnel/client/dist/bin/node_modules:/docker/codeserver/project/test/d8d-webcontainer/release_server/node_modules/.pnpm/@d8d-localtunnel+client@1.0.1/node_modules/@d8d-localtunnel/client/dist/node_modules:/docker/codeserver/project/test/d8d-webcontainer/release_server/node_modules/.pnpm/@d8d-localtunnel+client@1.0.1/node_modules/@d8d-localtunnel/client/node_modules:/docker/codeserver/project/test/d8d-webcontainer/release_server/node_modules/.pnpm/@d8d-localtunnel+client@1.0.1/node_modules/@d8d-localtunnel/node_modules:/docker/codeserver/project/test/d8d-webcontainer/release_server/node_modules/.pnpm/@d8d-localtunnel+client@1.0.1/node_modules:/docker/codeserver/project/test/d8d-webcontainer/release_server/node_modules/.pnpm/node_modules"
else
  export NODE_PATH="/docker/codeserver/project/test/d8d-webcontainer/release_server/node_modules/.pnpm/@d8d-localtunnel+client@1.0.1/node_modules/@d8d-localtunnel/client/dist/bin/node_modules:/docker/codeserver/project/test/d8d-webcontainer/release_server/node_modules/.pnpm/@d8d-localtunnel+client@1.0.1/node_modules/@d8d-localtunnel/client/dist/node_modules:/docker/codeserver/project/test/d8d-webcontainer/release_server/node_modules/.pnpm/@d8d-localtunnel+client@1.0.1/node_modules/@d8d-localtunnel/client/node_modules:/docker/codeserver/project/test/d8d-webcontainer/release_server/node_modules/.pnpm/@d8d-localtunnel+client@1.0.1/node_modules/@d8d-localtunnel/node_modules:/docker/codeserver/project/test/d8d-webcontainer/release_server/node_modules/.pnpm/@d8d-localtunnel+client@1.0.1/node_modules:/docker/codeserver/project/test/d8d-webcontainer/release_server/node_modules/.pnpm/node_modules:$NODE_PATH"
fi
if [ -x "$basedir/node" ]; then
  exec "$basedir/node"  "$basedir/../@d8d-localtunnel/client/dist/bin/lt.js" "$@"
else
  exec node  "$basedir/../@d8d-localtunnel/client/dist/bin/lt.js" "$@"
fi
