diff --git a/resources/win32/bin/code.sh b/resources/win32/bin/code.sh index 99a773c49ea..bf9f121dfe1 100644 --- a/resources/win32/bin/code.sh +++ b/resources/win32/bin/code.sh @@ -5,6 +5,7 @@ COMMIT="@@COMMIT@@" APP_NAME="@@APPNAME@@" QUALITY="@@QUALITY@@" +NAME="@@NAME@@" set -e @@ -22,6 +23,8 @@ if grep -qi Microsoft /proc/version; then fi fi +VSCODE_PATH="$(dirname "$(dirname "$(realpath "$0")")")" + if [ -x "$(command -v cygpath)" ]; then CLI=$(cygpath -m "$VSCODE_PATH/resources/app/out/cli.js") else