mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-11 13:55:44 -05:00
linux argument startup fix
This commit is contained in:
@@ -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 $?
|
||||
|
||||
Reference in New Issue
Block a user