Files
vscode/resources/server/bin/code-server-linux.sh
2024-05-15 11:38:47 +02:00

15 lines
342 B
Bash

#!/usr/bin/env sh
#
# Copyright (c) Microsoft Corporation. All rights reserved.
#
case "$1" in
--inspect*) INSPECT="$1"; shift;;
esac
ROOT="$(dirname "$(dirname "$(readlink -f "$0")")")"
export UV_USE_IO_URING=0 # workaround for https://github.com/microsoft/vscode/issues/212678
"$ROOT/node" ${INSPECT:-} "$ROOT/out/server-main.js" "$@"