lib/Tools/node
author Fabian Huch <huch@in.tum.de>
Thu, 14 Dec 2023 13:10:01 +0100
changeset 79289 7c1faa16554b
parent 75285 2b64d5657592
permissions -rwxr-xr-x
add delay and limit options for when schedule is considered outdated;

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: run the Node.js framework within the Isabelle environment

if [ -z "$ISABELLE_VSCODIUM_ELECTRON" ]; then
  echo '*** Undefined $ISABELLE_VSCODIUM_ELECTRON: missing "vscodium" component'
  exit 2
else
  export ELECTRON_RUN_AS_NODE=1
  exec "$ISABELLE_VSCODIUM_ELECTRON" "$@"
fi