mirror of
https://github.com/dockur/windows.git
synced 2024-06-10 10:45:21 +02:00
Update define.sh
This commit is contained in:
parent
242eee4e3a
commit
8f5488d900
|
@ -11,12 +11,14 @@ MIRRORS=5
|
||||||
|
|
||||||
parseVersion() {
|
parseVersion() {
|
||||||
|
|
||||||
[ -z "$VERSION" ] && VERSION="win11"
|
VERSION="${VERSION/\//}"
|
||||||
|
|
||||||
if [[ "${VERSION}" == \"*\" || "${VERSION}" == \'*\' ]]; then
|
if [[ "${VERSION}" == \"*\" || "${VERSION}" == \'*\' ]]; then
|
||||||
VERSION="${VERSION:1:-1}"
|
VERSION="${VERSION:1:-1}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
[ -z "$VERSION" ] && VERSION="win11"
|
||||||
|
|
||||||
case "${VERSION,,}" in
|
case "${VERSION,,}" in
|
||||||
"11" | "win11" | "windows11" | "windows 11" )
|
"11" | "win11" | "windows11" | "windows 11" )
|
||||||
VERSION="win11${PLATFORM,,}"
|
VERSION="win11${PLATFORM,,}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user