GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — app-vscode/scripts/node-electron.sh at main · code/app-vscode Expand file tree/ Copy pathnode-electron.shMore file actions executable file ·37 lines (31 loc) · 819 Bytes / Copy pathnode-electron.shFile metadata and controlsexecutable file ·37 lines (31 loc) · 819 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 #!/usr/bin/env bash if [[ "$OSTYPE" == "darwin"* ]]; then realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; } ROOT=$(dirname $(dirname $(realpath "$0"))) else ROOT=$(dirname $(dirname $(readlink -f $0))) fi pushd $ROOT if [[ "$OSTYPE" == "darwin"* ]]; then NAME=`node -p "require('./product.json').nameLong"` EXE_NAME=`node -p "require('./product.json').nameShort"` CODE="$ROOT/.build/electron/$NAME.app/Contents/MacOS/$EXE_NAME" else NAME=`node -p "require('./product.json').applicationName"` CODE="$ROOT/.build/electron/$NAME" fi # Get electron if [[ -z "${VSCODE_SKIP_PRELAUNCH}" ]]; then npm run electron fi popd export VSCODE_DEV=1 if [[ "$OSTYPE" == "darwin"* ]]; then ulimit -n 4096 ; ELECTRON_RUN_AS_NODE=1 \ "$CODE" \ "$@" else ELECTRON_RUN_AS_NODE=1 \ "$CODE" \ "$@" fi |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |