lib/Tools/node
author wenzelm
Fri, 26 Aug 2022 21:28:26 +0200
changeset 75986 27d98da31985
parent 75285 2b64d5657592
permissions -rwxr-xr-x
support 'chapter_definition' with description for presentation purposes;

#!/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