From 73e725321824fa2a36c18102261e0b34b6280782 Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 1 Oct 2024 20:33:25 +0200 Subject: [PATCH] feat: Add Windows 11 LTSC support (#770) --- assets/win11x64-iot.xml | 3 +++ assets/win11x64-ltsc.xml | 3 +++ src/define.sh | 7 ++----- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/assets/win11x64-iot.xml b/assets/win11x64-iot.xml index cf49f4e..eeef008 100644 --- a/assets/win11x64-iot.xml +++ b/assets/win11x64-iot.xml @@ -86,6 +86,9 @@ true Docker Windows for Docker + + + false diff --git a/assets/win11x64-ltsc.xml b/assets/win11x64-ltsc.xml index 16ec029..c4c35db 100644 --- a/assets/win11x64-ltsc.xml +++ b/assets/win11x64-ltsc.xml @@ -86,6 +86,9 @@ true Docker Windows for Docker + + + false diff --git a/src/define.sh b/src/define.sh index 37da591..b38fc28 100644 --- a/src/define.sh +++ b/src/define.sh @@ -115,7 +115,7 @@ parseVersion() { ;; "ltsc11" | "11ltsc" | "win11-ltsc" | "win11x64-ltsc" | "win11x64-enterprise-ltsc-eval" ) VERSION="win11x64-enterprise-ltsc-eval" - [ -z "$DETECTED" ] && DETECTED="win11x64-iot" + [ -z "$DETECTED" ] && DETECTED="win11x64-ltsc" ;; "ltsc10" | "10ltsc" | "win10-ltsc" | "win10x64-ltsc" | "win10x64-enterprise-ltsc-eval" ) VERSION="win10x64-enterprise-ltsc-eval" @@ -420,7 +420,7 @@ printEdition() { edition="Education" ;; *"-iot" | *"-iot-eval" ) - edition="IoT" + edition="LTSC" ;; *"-ltsc" | *"-ltsc-eval" ) edition="LTSC" @@ -2134,9 +2134,6 @@ setMachine() { if ! prepare2k3 "$iso" "$dir" "$desc"; then error "Failed to prepare $desc ISO!" && return 1 fi ;; - "win2025"* | "win11x64-iot"* | "win11x64-ltsc"* ) - # Temporary: Use IDE CD to workaround install bug - MEDIA_TYPE="ide" ;; esac return 0