Update mido.sh

This commit is contained in:
Kroese 2024-05-18 01:38:17 +02:00 committed by GitHub
parent 2d840a5945
commit 35369905c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -150,7 +150,12 @@ download_windows() {
if ! [ "$iso_download_link" ]; then
# This should only happen if there's been some change to the download endpoint web address
error "Microsoft servers gave us no download link to our request for an automated download!"
if [[ "${lang,,}" == "en" ]] || [[ "${lang,,}" == "en-"* ]]; then
error "Microsoft servers gave us no download link to our request for an automated download!"
else
language=$(getLanguage "$lang" "desc")
error "No download for the $language language available!"
fi
return 1
fi