未验证 提交 8c47ba25 编写于 作者: A Asher

Preserve current working directory

Fixes #1388.
上级 4e6f6bc2
#!/usr/bin/env sh
# code-server.sh -- Run code-server with the bundled Node binary.
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")" || exit 1
dir="$(dirname "$(readlink -f "$0" || realpath "$0")")"
./node ./out/node/entry.js "$@"
"$dir/node" "$dir/out/node/entry.js" "$@"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册