Files
TallyNote/bin/tallynote
T
Qiufeng 9719429f4a
TallyNote release / linux-x64 (push) Failing after 2m41s
feat: add TallyNote local reimbursement ledger
2026-08-29 01:02:29 +08:00

9 lines
304 B
Bash
Executable File

#!/usr/bin/env bash
set -Eeuo pipefail
ROOT=$(cd -- "$(dirname -- "$0")/.." && pwd -P)
NODE="$ROOT/runtime/bin/node"
[[ -x "$NODE" ]] || NODE=$(command -v node || true)
[[ -n "$NODE" ]] || { printf 'TallyNote: Node.js runtime not found\n' >&2; exit 127; }
exec "$NODE" "$ROOT/dist/server/index.js" "$@"