From d68a140074c299920f67f6146a3f51ccd3998e90 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 27 Jan 2024 16:29:26 +0100 Subject: [PATCH] fix: Windows 10 LTSC detection --- src/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/install.sh b/src/install.sh index 185f035..e0ae78a 100644 --- a/src/install.sh +++ b/src/install.sh @@ -200,7 +200,7 @@ startInstall() { BASE="$VERSION.iso" if ! skipInstall && [ ! -f "$STORAGE/$BASE" ]; then - + desc=$(printVersion "$VERSION") [ -z "$desc" ] && desc="Windows" msg="$desc is being downloaded, please wait..." @@ -353,7 +353,7 @@ getVersion() { [[ "${name,,}" == *"server 2016"* ]] && detected="win2016-eval" if [[ "${name,,}" == *"windows 10"* ]]; then - if [[ "${name,,}" == *"enterprise ltsc"* ]]; then + if [[ "${name,,}" == *"ltsc"* ]]; then detected="win10x64-ltsc" else detected="win10x64"