linux argument startup fix

This commit is contained in:
Tilman Vatteroth
2016-12-27 14:11:21 +01:00
parent d98785b768
commit 20bbbfa6fe

View File

@@ -4,7 +4,6 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
# If root, ensure that --user-data-dir is specified
ARGS=$@
if [ "$(id -u)" = "0" ]; then
while test $# -gt 0
do
@@ -34,5 +33,5 @@ fi
ELECTRON="$VSCODE_PATH/@@NAME@@"
CLI="$VSCODE_PATH/resources/app/out/cli.js"
ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" $ARGS
ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@"
exit $?