mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 03:15:49 +00:00
feat: Initial Windows Server 2025 support (#123)
This commit is contained in:
parent
63de796e12
commit
cf033a03ca
2 changed files with 333 additions and 0 deletions
|
|
@ -94,6 +94,7 @@ printVersion() {
|
|||
[[ "$id" == "win10"* ]] && desc="Windows 10"
|
||||
[[ "$id" == "win11"* ]] && desc="Windows 11"
|
||||
[[ "$id" == "winvista"* ]] && desc="Windows Vista"
|
||||
[[ "$id" == "win2025"* ]] && desc="Windows Server 2025"
|
||||
[[ "$id" == "win2022"* ]] && desc="Windows Server 2022"
|
||||
[[ "$id" == "win2019"* ]] && desc="Windows Server 2019"
|
||||
[[ "$id" == "win2016"* ]] && desc="Windows Server 2016"
|
||||
|
|
@ -353,6 +354,7 @@ getVersion() {
|
|||
[[ "${name,,}" == *"windows 8"* ]] && detected="win81x64"
|
||||
[[ "${name,,}" == *"windows 11"* ]] && detected="win11x64"
|
||||
[[ "${name,,}" == *"windows vista"* ]] && detected="winvistax64"
|
||||
[[ "${name,,}" == *"server 2025"* ]] && detected="win2025-eval"
|
||||
[[ "${name,,}" == *"server 2022"* ]] && detected="win2022-eval"
|
||||
[[ "${name,,}" == *"server 2019"* ]] && detected="win2019-eval"
|
||||
[[ "${name,,}" == *"server 2016"* ]] && detected="win2016-eval"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue