feat: Add Windows 11 LTSC support (#770)

This commit is contained in:
Kroese 2024-10-01 20:33:25 +02:00 committed by GitHub
parent bfc24167e3
commit 73e7253218
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 5 deletions

View File

@ -86,6 +86,9 @@
<AcceptEula>true</AcceptEula>
<FullName>Docker</FullName>
<Organization>Windows for Docker</Organization>
<ProductKey>
<Key />
</ProductKey>
</UserData>
<EnableFirewall>false</EnableFirewall>
<Diagnostics>

View File

@ -86,6 +86,9 @@
<AcceptEula>true</AcceptEula>
<FullName>Docker</FullName>
<Organization>Windows for Docker</Organization>
<ProductKey>
<Key />
</ProductKey>
</UserData>
<EnableFirewall>false</EnableFirewall>
<Diagnostics>

View File

@ -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