lib/Tools/node
author wenzelm
Wed, 31 Jan 2024 12:43:06 +0100
changeset 79556 0631dfc0db07
parent 75285 2b64d5657592
permissions -rwxr-xr-x
more robust check of ISABELLE_PLATFORM_FAMILY within settings environment, to support its reunification with Isabelle/Scala (see also a33a6e541cbb, f3a356c64193);

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