Update mido.sh

This commit is contained in:
Kroese 2024-05-17 00:43:58 +02:00 committed by GitHub
parent 409bfe3a89
commit 76dd32f10c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -296,9 +296,9 @@ getWindows() {
local desc="$2"
local language="$3"
MIDO_URL=""
info "Downloading $desc from official Microsoft servers..."
local msg="Requesting $desc from official Microsoft servers..."
info "$msg" && html "$msg"
case "${id,,}" in
"win81${PLATFORM,,}" | "win10${PLATFORM,,}" | "win11${PLATFORM,,}" )
download_windows "$id" "$language" && return 0
@ -324,6 +324,7 @@ getWindows() {
error "Unknown version: $id"
esac
MIDO_URL=""
return 1
}