mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 19:55:49 +00:00
Update define.sh
This commit is contained in:
parent
287dccf5e1
commit
3cb82c422e
1 changed files with 8 additions and 0 deletions
|
|
@ -35,9 +35,11 @@ parseVersion() {
|
||||||
;;
|
;;
|
||||||
"7" | "7e" | "win7" | "win7e")
|
"7" | "7e" | "win7" | "win7e")
|
||||||
VERSION="win7${PLATFORM,,}"
|
VERSION="win7${PLATFORM,,}"
|
||||||
|
DETECTED="win7${PLATFORM,,}-enterprise"
|
||||||
;;
|
;;
|
||||||
"vista" | "winvista")
|
"vista" | "winvista")
|
||||||
VERSION="winvista${PLATFORM,,}"
|
VERSION="winvista${PLATFORM,,}"
|
||||||
|
DETECTED="winvista${PLATFORM,,}-ultimate"
|
||||||
;;
|
;;
|
||||||
"xp" | "winxp")
|
"xp" | "winxp")
|
||||||
VERSION="winxpx86"
|
VERSION="winxpx86"
|
||||||
|
|
@ -335,6 +337,12 @@ switchEdition() {
|
||||||
local id="$1"
|
local id="$1"
|
||||||
|
|
||||||
case "${id,,}" in
|
case "${id,,}" in
|
||||||
|
"win11${PLATFORM,,}-enterprise-eval")
|
||||||
|
DETECTED="win11${PLATFORM,,}-enterprise"
|
||||||
|
;;
|
||||||
|
"win10${PLATFORM,,}-enterprise-eval")
|
||||||
|
DETECTED="win10${PLATFORM,,}-enterprise"
|
||||||
|
;;
|
||||||
"win2022-eval")
|
"win2022-eval")
|
||||||
DETECTED="win2022"
|
DETECTED="win2022"
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue