支持在隔离的 Chroot 容器内运行 Wine

This commit is contained in:
2022-12-08 22:55:40 +08:00
parent ddbf0089b4
commit 1e1f451d6c
4 changed files with 264 additions and 221 deletions

View File

@@ -41,4 +41,4 @@ else
fi
# 如果参数 3 存在
chroot "--userspec=$2:$2" . env "HOME=/home/$2" "${@:3}"
chroot "--userspec=$2:$2" . env "HOME=/home/$2" ${@:3}