mirror of
https://github.com/dockur/windows.git
synced 2024-06-29 02:41:57 +00:00
Update mido.sh
This commit is contained in:
parent
409bfe3a89
commit
76dd32f10c
|
@ -296,9 +296,9 @@ getWindows() {
|
||||||
local desc="$2"
|
local desc="$2"
|
||||||
local language="$3"
|
local language="$3"
|
||||||
|
|
||||||
MIDO_URL=""
|
local msg="Requesting $desc from official Microsoft servers..."
|
||||||
info "Downloading $desc from official Microsoft servers..."
|
info "$msg" && html "$msg"
|
||||||
|
|
||||||
case "${id,,}" in
|
case "${id,,}" in
|
||||||
"win81${PLATFORM,,}" | "win10${PLATFORM,,}" | "win11${PLATFORM,,}" )
|
"win81${PLATFORM,,}" | "win10${PLATFORM,,}" | "win11${PLATFORM,,}" )
|
||||||
download_windows "$id" "$language" && return 0
|
download_windows "$id" "$language" && return 0
|
||||||
|
@ -324,6 +324,7 @@ getWindows() {
|
||||||
error "Unknown version: $id"
|
error "Unknown version: $id"
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
MIDO_URL=""
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue