From ab925b4d87dad11980e32cdce4ad977972d31890 Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 26 Jan 2024 05:54:22 +0100 Subject: [PATCH] Update install.sh --- src/install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/install.sh b/src/install.sh index a850197..9c9578d 100644 --- a/src/install.sh +++ b/src/install.sh @@ -345,7 +345,11 @@ detectImage() { DETECTED="" if [[ "$EXTERNAL" != [Yy1]* ]] && [ -z "$CUSTOM" ]; then - DETECTED="$VERSION" + 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"