mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
add quality to win/code.sh
This commit is contained in:
parent
bf95ef6e79
commit
f999a29671
|
@ -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' })
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue