Update install.sh

This commit is contained in:
Kroese 2024-01-26 05:54:22 +01:00 committed by GitHub
parent 28088a0e07
commit ab925b4d87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -345,7 +345,11 @@ detectImage() {
DETECTED=""
if [[ "$EXTERNAL" != [Yy1]* ]] && [ -z "$CUSTOM" ]; then
if [[ "${VERSION,,}" != "win10x64-enterprise-ltsc-eval" ]]; then
DETECTED="$VERSION"
else
DETECTED="win10x64-ltsc"
fi
if [[ "$MANUAL" != [Yy1]* ]]; then
if [ -f "/run/assets/$DETECTED.xml" ]; then
XML="$DETECTED.xml"