mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
win code.sh fix
This commit is contained in:
parent
a145fbf2b1
commit
769e5d2ad2
|
@ -11,7 +11,7 @@ VSCODE_PATH="$(dirname "$(dirname "$(realpath "$0")")")"
|
|||
ELECTRON="$VSCODE_PATH/$NAME.exe"
|
||||
if grep -qi Microsoft /proc/version; then
|
||||
# in a wsl shell
|
||||
if ! [ -z "$WSL_DISTRO_NAME"]; then
|
||||
if ! [ -z "$WSL_DISTRO_NAME" ]; then
|
||||
# $WSL_DISTRO_NAME is available since WSL builds 18362, also for WSL2
|
||||
WSL_BUILD=18362
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue