Skip to content

Commit 49b51b3

Browse files
committed
Run wslCode with electron (fixes vscode-remote-release#914)
1 parent 7765589 commit 49b51b3

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

resources/win32/bin/code.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ if grep -qi Microsoft /proc/version; then
3434
if [ -n "$WSL_EXT_WLOC" ]; then
3535
# replace \r\n with \n in WSL_EXT_WLOC
3636
WSL_CODE=$(wslpath -u "${WSL_EXT_WLOC%%[[:cntrl:]]}")/scripts/wslCode.sh
37-
WIN_CODE_CMD=$(wslpath -w "$VSCODE_PATH/bin/$APP_NAME.cmd")
38-
"$WSL_CODE" "$COMMIT" "$QUALITY" "$WIN_CODE_CMD" "$APP_NAME" "$DATAFOLDER" "$@"
37+
"$WSL_CODE" "$COMMIT" "$QUALITY" "$ELECTRON" "$APP_NAME" "$DATAFOLDER" "$@"
3938
exit $?
4039
fi
4140
else
@@ -52,4 +51,4 @@ else
5251
CLI="$VSCODE_PATH/resources/app/out/cli.js"
5352
fi
5453
ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@"
55-
exit $?
54+
exit $?

0 commit comments

Comments
 (0)