mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 04:05:50 +00:00
Update mido.sh
This commit is contained in:
parent
a850269ef5
commit
d03a3186fb
1 changed files with 3 additions and 3 deletions
|
|
@ -543,13 +543,13 @@ downloadImage() {
|
|||
return 1
|
||||
fi
|
||||
|
||||
if ! validVersion "$version"; then
|
||||
if ! validVersion "$version" "$language"; then
|
||||
error "Invalid VERSION specified, value \"$version\" is not recognized!" && return 1
|
||||
fi
|
||||
|
||||
desc=$(printVersion "$version" "")
|
||||
|
||||
if isMido "$version"; then
|
||||
if isMido "$version" "$language"; then
|
||||
tried="y"
|
||||
if getWindows "$version" "$language" "$desc"; then
|
||||
size=$(getMido "$version" "$language" "size" )
|
||||
|
|
@ -560,7 +560,7 @@ downloadImage() {
|
|||
|
||||
switchEdition "$version"
|
||||
|
||||
if isESD "$version"; then
|
||||
if isESD "$version" "$language"; then
|
||||
|
||||
if [[ "$tried" != "n" ]]; then
|
||||
info "Failed to download $desc, will try a diferent method now..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue