#!/bin/sh
# CopperCourier keeps The Next Copper's prices fresh while you play. https://thenextcopper.com
here="$(cd "$(dirname "$0")" && pwd)"
TNC_LAUNCHER="$here/coppercourier"
export TNC_LAUNCHER
node="$here/bin/node"
app="$here/app/coppercourier.cjs"
case "${1:-}" in
  "") exec "$node" "$app" --detach ;;
  *) exec "$node" "$app" "$@" ;;
esac
