We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f165924 commit 76b2a36Copy full SHA for 76b2a36
1 file changed
.devcontainer/postCreate.sh
@@ -6,7 +6,9 @@ sudo apt-get update
6
sudo apt-get install -y ncurses-bin libtinfo6 libncursesw6 curl ca-certificates git
7
8
if ! command -v xlings >/dev/null 2>&1; then
9
- curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash -s "v0.4.68"
+ # postCreate 无控制终端:安装器探测 /dev/tty 会误判可读,必须显式声明非交互
10
+ curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh \
11
+ | XLINGS_NON_INTERACTIVE=1 bash -s "v0.4.68"
12
fi
13
14
export PATH="$HOME/.xlings/subos/current/bin:$PATH"
0 commit comments