chore: 去除 archlinux wsl 检测

This commit is contained in:
2026-04-08 02:03:59 +00:00
parent 71349611ab
commit b1dd39f54e
-5
View File
@@ -6,11 +6,6 @@ if [ "$(id -u)" -ne 0 ]; then
exit 1
fi
if [[ ! -f /proc/sys/fs/binfmt_misc/WSLInterop ]]; then
echo "❌ 此脚本仅用于 Arch Linux on WSL 的首次初始化"
exit 1
fi
USERNAME="${1:-}"
if [ -z "$USERNAME" ]; then
echo "用法: wsl-init.sh <用户名>"