mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 03:15:49 +00:00
fix: Windows 10 LTSC detection (#110)
This commit is contained in:
parent
6b31a9d943
commit
46de9e8fc0
2 changed files with 6 additions and 4 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue