mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 04:09:28 +00:00
* electron 1.4.6 * fix broken DND image feedback * OSS input * remove cat.exe as it is no longer needed * update electron.d.ts * set new ELECTRON_NO_ASAR environment for forked processes * Automatically enable high contrast theme when enabled in Windows (fixes #15360)
16 lines
513 B
Bash
16 lines
513 B
Bash
#!/usr/bin/env bash
|
|
#
|
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
# Licensed under the MIT License. See License.txt in the project root for license information.
|
|
|
|
NAME="@@NAME@@"
|
|
VSCODE_PATH="$(dirname "$(dirname "$(realpath "$0")")")"
|
|
ELECTRON="$VSCODE_PATH/$NAME.exe"
|
|
if [ "$(expr substr $(uname -s) 1 9)" == "CYGWIN_NT" ]; then
|
|
CLI=$(cygpath -m "$VSCODE_PATH/resources/app/out/cli.js")
|
|
else
|
|
CLI="$VSCODE_PATH/resources/app/out/cli.js"
|
|
fi
|
|
ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@"
|
|
exit $?
|