Add TPM support.

This commit is contained in:
Martin Wimpress 2021-10-06 11:01:33 +01:00
parent 042634a801
commit 023185291e
No known key found for this signature in database
GPG key ID: 61DF940515E06DA3
3 changed files with 48 additions and 10 deletions

View file

@ -153,6 +153,11 @@ EOF
if [ "${OS}" == "macos" ]; then
echo "macos_release=\"${RELEASE}\"" >> "${OS}-${RELEASE}.conf"
fi
# Enable TPM for Windows 11
if [ "${OS}" == "windows" ] && [ ${RELEASE} -ge 11 ]; then
echo "tpm=\"on\"" >> "${OS}-${RELEASE}.conf"
fi
fi
}