#!/usr/bin/env bash
set -Eeuo pipefail

SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)"
INSTALL_LIB="${SCRIPT_DIR}/scripts/install-lib.sh"

if [[ ! -r "${INSTALL_LIB}" ]]; then
  printf 'ERROR: installer library is missing: %s\n' "${INSTALL_LIB}" >&2
  exit 1
fi

# shellcheck source=scripts/install-lib.sh
source "${INSTALL_LIB}"
wxbot_main "$@"
