diff options
author | Martin Aeschlimann <martinae@microsoft.com> | 2020-09-17 00:55:34 +0300 |
---|---|---|
committer | Martin Aeschlimann <martinae@microsoft.com> | 2020-09-17 00:55:52 +0300 |
commit | a8581d60f25d9004932a0e5a6ede9b68ccfe36b1 (patch) | |
tree | 0b4670024fcbdc83e330daf059de7c50314fbb70 /scripts | |
parent | 289bce5e1a251491b65252c68d7e3b0d28d5f001 (diff) |
fix wsl selfhosting in scripts/code.sh
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/code.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/code.sh b/scripts/code.sh index b19cc0df9ff..ef117c55c48 100755 --- a/scripts/code.sh +++ b/scripts/code.sh @@ -57,9 +57,9 @@ function code-wsl() if [ -f "$ELECTRON" ]; then local CWD=$(pwd) cd $ROOT - export WSLENV=ELECTRON_RUN_AS_NODE/w:$WSLENV + export WSLENV=ELECTRON_RUN_AS_NODE/w:VSCODE_DEV/w:$WSLENV local WSL_EXT_ID="ms-vscode-remote.remote-wsl" - local WSL_EXT_WLOC=$(ELECTRON_RUN_AS_NODE=1 "$ROOT/.build/electron/Code - OSS.exe" "out/cli.js" --locate-extension $WSL_EXT_ID) + local WSL_EXT_WLOC=$(VSCODE_DEV=1 ELECTRON_RUN_AS_NODE=1 "$ROOT/.build/electron/Code - OSS.exe" "out/cli.js" --locate-extension $WSL_EXT_ID) cd $CWD if [ -n "$WSL_EXT_WLOC" ]; then # replace \r\n with \n in WSL_EXT_WLOC |