chore: 去除 archlinux wsl 检测
This commit is contained in:
@@ -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 <用户名>"
|
||||
|
||||
Reference in New Issue
Block a user