buncid/run.sh

11 lines
229 B
Bash
Raw Normal View History

2025-01-16 06:48:00 +00:00
#!/bin/bash
if command -v bun >/dev/null 2>&1; then
exec bun dist/index.js "$@"
elif command -v node >/dev/null 2>&1; then
exec node dist/index.js "$@"
else
echo "Neither Bun nor Node.js is installed."
exit 1
fi