提交 84b1474d 编写于 作者: M Martin Aeschlimann

Code Insiders latest update break the `code-insiders` commands inisde WSL. Fixes #72260

上级 4be2b918
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
COMMIT="@@COMMIT@@" COMMIT="@@COMMIT@@"
APP_NAME="@@APPNAME@@" APP_NAME="@@APPNAME@@"
QUALITY="@@QUALITY@@" QUALITY="@@QUALITY@@"
NAME="@@NAME@@"
set -e set -e
...@@ -22,6 +23,8 @@ if grep -qi Microsoft /proc/version; then ...@@ -22,6 +23,8 @@ if grep -qi Microsoft /proc/version; then
fi fi
fi fi
VSCODE_PATH="$(dirname "$(dirname "$(realpath "$0")")")"
if [ -x "$(command -v cygpath)" ]; then if [ -x "$(command -v cygpath)" ]; then
CLI=$(cygpath -m "$VSCODE_PATH/resources/app/out/cli.js") CLI=$(cygpath -m "$VSCODE_PATH/resources/app/out/cli.js")
else else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册