diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js index 5d5d7ed7893b4b1bd33cba7c24a68ab92cb15c4f..2285cd0002741115cdafd9bf8a6a1f475cd6ce99 100644 --- a/build/gulpfile.vscode.js +++ b/build/gulpfile.vscode.js @@ -416,6 +416,7 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op .pipe(replace('@@VERSION@@', version)) .pipe(replace('@@COMMIT@@', commit)) .pipe(replace('@@APPNAME@@', product.applicationName)) + .pipe(replace('@@QUALITY@@', quality)) .pipe(rename(function (f) { f.basename = product.applicationName; f.extname = ''; }))); result = es.merge(result, gulp.src('resources/win32/VisualElementsManifest.xml', { base: 'resources/win32' }) diff --git a/resources/win32/bin/code.sh b/resources/win32/bin/code.sh index 591c79635ee8d123ba16f9739597da2fd07b2d23..99a773c49ea81b490d729c68f2b95de1a876ad94 100644 --- a/resources/win32/bin/code.sh +++ b/resources/win32/bin/code.sh @@ -4,6 +4,7 @@ # Licensed under the MIT License. See License.txt in the project root for license information. COMMIT="@@COMMIT@@" APP_NAME="@@APPNAME@@" +QUALITY="@@QUALITY@@" set -e @@ -16,7 +17,7 @@ if grep -qi Microsoft /proc/version; then if ! [ -z "$WSL_EXT_WLOC" ]; then # replace \r\n with \n in WSL_EXT_WLOC, get linux path for WSL_CODE=$(wslpath -u "${WSL_EXT_WLOC%%[[:cntrl:]]}")/scripts/wslCode.sh - $WSL_CODE $COMMIT "$WIN_CODE_CMD" "$APP_NAME" "$@" + $WSL_CODE $COMMIT $QUALITY "$WIN_CODE_CMD" "$APP_NAME" "$@" exit $? fi fi