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
e02b865aab
commit
83dc97162d
1 changed files with 49 additions and 0 deletions
|
|
@ -281,6 +281,55 @@ getVersion() {
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
validVersion() {
|
||||||
|
|
||||||
|
local id="$1"
|
||||||
|
|
||||||
|
case "${id,,}" in
|
||||||
|
"win11${PLATFORM,,}" | "win11${PLATFORM,,}-enterprise-eval")
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
"win10${PLATFORM,,}" | "win10${PLATFORM,,}-enterprise-eval")
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
"win10${PLATFORM,,}-enterprise-iot-eval" | "win10${PLATFORM,,}-enterprise-ltsc-eval")
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
"win81${PLATFORM,,}" | "win81${PLATFORM,,}-enterprise-eval")
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
"win2022-eval")
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
"win2019-eval")
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
"win2016-eval")
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
"win2012r2-eval")
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
"win2008r2")
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
"win7${PLATFORM,,}")
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
"winvista${PLATFORM,,}")
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
"winxpx86")
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
"core11" | "tiny11" | "tiny10")
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
|
||||||
getLink() {
|
getLink() {
|
||||||
|
|
||||||
# Fallbacks for users who cannot connect to Microsoft servers
|
# Fallbacks for users who cannot connect to Microsoft servers
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue