mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 12:15:50 +00:00
Update define.sh
This commit is contained in:
parent
242eee4e3a
commit
8f5488d900
1 changed files with 3 additions and 1 deletions
|
|
@ -11,12 +11,14 @@ MIRRORS=5
|
|||
|
||||
parseVersion() {
|
||||
|
||||
[ -z "$VERSION" ] && VERSION="win11"
|
||||
VERSION="${VERSION/\//}"
|
||||
|
||||
if [[ "${VERSION}" == \"*\" || "${VERSION}" == \'*\' ]]; then
|
||||
VERSION="${VERSION:1:-1}"
|
||||
fi
|
||||
|
||||
[ -z "$VERSION" ] && VERSION="win11"
|
||||
|
||||
case "${VERSION,,}" in
|
||||
"11" | "win11" | "windows11" | "windows 11" )
|
||||
VERSION="win11${PLATFORM,,}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue