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 — Editor/scripts/code-cli.sh at Current · DependencyCodeEditorLand/Editor Expand file tree/ Copy pathcode-cli.shMore file actions executable file ·47 lines (39 loc) · 1.17 KB / Copy pathcode-cli.shFile metadata and controlsexecutable file ·47 lines (39 loc) · 1.17 KB 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 38 39 40 41 42 43 44 45 46 47 #!/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 function code() { cd $ROOT if [[ "$OSTYPE" == "darwin"* ]]; then NAME=`node -p "require('./product.json').nameLong"` EXE_NAME=`node -p "require('./product.json').nameShort"` CODE="./.build/electron/$NAME.app/Contents/MacOS/$EXE_NAME" else NAME=`node -p "require('./product.json').applicationName"` CODE=".build/electron/$NAME" fi # Get electron, compile, built-in extensions if [[ -z "${VSCODE_SKIP_PRELAUNCH}" ]]; then node build/lib/preLaunch.ts fi # Manage built-in extensions if [[ "$1" == "--builtin" ]]; then exec "$CODE" build/builtin return fi # Disable test extension DISABLE_TEST_EXTENSION="--disable-extension=vscode.vscode-api-tests" if [[ "$@" == *"--extensionTestsPath"* ]]; then DISABLE_TEST_EXTENSION="" fi ELECTRON_RUN_AS_NODE=1 \ NODE_ENV=development \ VSCODE_DEV=1 \ ELECTRON_ENABLE_LOGGING=1 \ ELECTRON_ENABLE_STACK_DUMPING=1 \ "$CODE" --inspect=5874 "$ROOT/out/cli.js" . $DISABLE_TEST_EXTENSION "$@" } code "$@" |
| You are visitor 01402503 — 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. |