mirror of
https://github.com/dockur/windows.git
synced 2024-11-22 00:03:24 +01:00
feat: Additional aliasses (#833)
This commit is contained in:
parent
80dead1446
commit
b39507c5a4
@ -26,19 +26,35 @@ parseVersion() {
|
|||||||
[ -z "$VERSION" ] && VERSION="win11"
|
[ -z "$VERSION" ] && VERSION="win11"
|
||||||
|
|
||||||
case "${VERSION,,}" in
|
case "${VERSION,,}" in
|
||||||
"11" | "11p" | "win11" | "win11p" | "windows11" | "windows 11" )
|
"11" | "11p" | "win11" | "pro11" | "win11p" | "windows11" | "windows 11" )
|
||||||
VERSION="win11x64"
|
VERSION="win11x64"
|
||||||
;;
|
;;
|
||||||
"11e" | "win11e" | "windows11e" | "windows 11e" )
|
"11e" | "win11e" | "windows11e" | "windows 11e" )
|
||||||
VERSION="win11x64-enterprise-eval"
|
VERSION="win11x64-enterprise-eval"
|
||||||
;;
|
;;
|
||||||
"10" | "10p" | "win10" | "win10p" | "windows10" | "windows 10" )
|
"iot11" | "11i" | "11iot" | "win11i" | "win11-iot" | "win11x64-iot" | "win11x64-enterprise-iot-eval" )
|
||||||
|
VERSION="win11x64-enterprise-iot-eval"
|
||||||
|
[ -z "$DETECTED" ] && DETECTED="win11x64-iot"
|
||||||
|
;;
|
||||||
|
"ltsc11" | "11l" | "11ltsc" | "win11l" | "win11-ltsc" | "win11x64-ltsc" | "win11x64-enterprise-ltsc-eval" )
|
||||||
|
VERSION="win11x64-enterprise-ltsc-eval"
|
||||||
|
[ -z "$DETECTED" ] && DETECTED="win11x64-ltsc"
|
||||||
|
;;
|
||||||
|
"10" | "10p" | "win10" | "pro10" | "win10p" | "windows10" | "windows 10" )
|
||||||
VERSION="win10x64"
|
VERSION="win10x64"
|
||||||
;;
|
;;
|
||||||
"10e" | "win10e" | "windows10e" | "windows 10e" )
|
"10e" | "win10e" | "windows10e" | "windows 10e" )
|
||||||
VERSION="win10x64-enterprise-eval"
|
VERSION="win10x64-enterprise-eval"
|
||||||
;;
|
;;
|
||||||
"8" | "8p" | "81" | "81p" | "8.1" | "win8" | "win8p" | "win81" | "win81p" | "windows 8" )
|
"iot10" | "10i" | "10iot" | "win10i" | "win10-iot" | "win10x64-iot" | "win10x64-enterprise-iot-eval" )
|
||||||
|
VERSION="win10x64-enterprise-iot-eval"
|
||||||
|
[ -z "$DETECTED" ] && DETECTED="win10x64-iot"
|
||||||
|
;;
|
||||||
|
"ltsc10" | "10l" | "10ltsc" | "win10l" | "win10-ltsc" | "win10x64-ltsc" | "win10x64-enterprise-ltsc-eval" )
|
||||||
|
VERSION="win10x64-enterprise-ltsc-eval"
|
||||||
|
[ -z "$DETECTED" ] && DETECTED="win10x64-ltsc"
|
||||||
|
;;
|
||||||
|
"8" | "8p" | "81" | "81p" | "pro8" | "8.1" | "win8" | "win8p" | "win81" | "win81p" | "windows 8" )
|
||||||
VERSION="win81x64"
|
VERSION="win81x64"
|
||||||
;;
|
;;
|
||||||
"8e" | "81e" | "8.1e" | "win8e" | "win81e" | "windows 8e" )
|
"8e" | "81e" | "8.1e" | "win8e" | "win81e" | "windows 8e" )
|
||||||
@ -105,22 +121,6 @@ parseVersion() {
|
|||||||
VERSION="tiny10"
|
VERSION="tiny10"
|
||||||
[ -z "$DETECTED" ] && DETECTED="win10x64-ltsc"
|
[ -z "$DETECTED" ] && DETECTED="win10x64-ltsc"
|
||||||
;;
|
;;
|
||||||
"iot11" | "11iot" | "win11-iot" | "win11x64-iot" | "win11x64-enterprise-iot-eval" )
|
|
||||||
VERSION="win11x64-enterprise-iot-eval"
|
|
||||||
[ -z "$DETECTED" ] && DETECTED="win11x64-iot"
|
|
||||||
;;
|
|
||||||
"iot10" | "10iot" | "win10-iot" | "win10x64-iot" | "win10x64-enterprise-iot-eval" )
|
|
||||||
VERSION="win10x64-enterprise-iot-eval"
|
|
||||||
[ -z "$DETECTED" ] && DETECTED="win10x64-iot"
|
|
||||||
;;
|
|
||||||
"ltsc11" | "11ltsc" | "win11-ltsc" | "win11x64-ltsc" | "win11x64-enterprise-ltsc-eval" )
|
|
||||||
VERSION="win11x64-enterprise-ltsc-eval"
|
|
||||||
[ -z "$DETECTED" ] && DETECTED="win11x64-ltsc"
|
|
||||||
;;
|
|
||||||
"ltsc10" | "10ltsc" | "win10-ltsc" | "win10x64-ltsc" | "win10x64-enterprise-ltsc-eval" )
|
|
||||||
VERSION="win10x64-enterprise-ltsc-eval"
|
|
||||||
[ -z "$DETECTED" ] && DETECTED="win10x64-ltsc"
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user