feat(install): require volume confirmation for risks

This commit is contained in:
YuleBest committed 2026-08-07 02:39:32 +08:00
1 parent 362a1f766c
commit 78abbd8a5d
2 files changed
+61 -6

No files matched your search

+2 -2
View File
@@ -15,11 +15,11 @@ elif [ -d /data/user/0/com.termux/files/usr/bin ]; then
fi
# 工具可用性检查
command -v shellcheck >/dev/null 2>&1 || {
command -v shellcheck > /dev/null 2>&1 || {
echo "[!] 未找到 shellcheck, 请先安装" >&2
exit 1
}
command -v shfmt >/dev/null 2>&1 || {
command -v shfmt > /dev/null 2>&1 || {
echo "[!] 未找到 shfmt, 请先安装" >&2
exit 1
}