mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-27 13:40:25 +00:00
18 lines
491 B
Bash
Executable File
18 lines
491 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
export NODE_ENV=development
|
|
export VSCODE_DEV=1
|
|
export VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH="$HOME/.vscode-remote/bin/dev-remote/node_modules"
|
|
|
|
cd $VSCODE_REPO
|
|
|
|
if [ -z "$extensions" ] ; then
|
|
echo No extensions to install.
|
|
mkdir -p /root/.vscode-remote
|
|
else
|
|
(PATH="$HOME/bin:$PATH" node out/remoteExtensionHostAgent.js ${VSCODE_TELEMETRY_ARG} ${extensions} || true)
|
|
fi
|
|
|
|
PATH="$HOME/bin:$PATH" node out/remoteExtensionHostAgent.js ${VSCODE_TELEMETRY_ARG} --port $PORT
|