mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 03:45:48 +00:00
fix: Windows 10 LTSC detection
This commit is contained in:
parent
6b31a9d943
commit
d68a140074
1 changed files with 2 additions and 2 deletions
|
|
@ -353,7 +353,7 @@ getVersion() {
|
||||||
[[ "${name,,}" == *"server 2016"* ]] && detected="win2016-eval"
|
[[ "${name,,}" == *"server 2016"* ]] && detected="win2016-eval"
|
||||||
|
|
||||||
if [[ "${name,,}" == *"windows 10"* ]]; then
|
if [[ "${name,,}" == *"windows 10"* ]]; then
|
||||||
if [[ "${name,,}" == *"enterprise ltsc"* ]]; then
|
if [[ "${name,,}" == *"ltsc"* ]]; then
|
||||||
detected="win10x64-ltsc"
|
detected="win10x64-ltsc"
|
||||||
else
|
else
|
||||||
detected="win10x64"
|
detected="win10x64"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue