diff --git a/src/define.sh b/src/define.sh index 88c1591..0bea2af 100644 --- a/src/define.sh +++ b/src/define.sh @@ -845,6 +845,8 @@ getLink2() { local size="" local host="https://files.dog/MSDN" + [[ "${lang,,}" != "en" ]] && [[ "${lang,,}" != "en-us" ]] && return 0 + case "${id,,}" in "win81${PLATFORM,,}" ) size=4320526336 @@ -937,6 +939,8 @@ getLink3() { local size="" local host="https://file.cnxiaobai.com/Windows" + [[ "${lang,,}" != "en" ]] && [[ "${lang,,}" != "en-us" ]] && return 0 + case "${id,,}" in "core11" ) size=2159738880 @@ -1103,6 +1107,8 @@ getLink5() { local size="" local host="https://archive.org/download" + [[ "${lang,,}" != "en" ]] && [[ "${lang,,}" != "en-us" ]] && return 0 + case "${id,,}" in "core11" ) size=2159738880