feat: Windows 11 support (#6)

This commit is contained in:
Kroese 2024-01-14 20:32:24 +01:00 committed by GitHub
parent 748bf5f4e7
commit 131fa1379b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 14 deletions

View file

@ -24,6 +24,9 @@ if [[ "${DISPLAY,,}" == "web" ]]; then
websockify -D --web /usr/share/novnc/ 8006 localhost:5900 2>/dev/null
fi
mkdir -p /tmp/emulated_tpm
swtpm socket -t -d --tpmstate dir=/tmp/emulated_tpm --ctrl type=unixio,path=/tmp/emulated_tpm/swtpm-sock --log level=1 --tpm2
info "Booting Windows using $VERS..."
[[ "$DEBUG" == [Yy1]* ]] && set -x