From e2c0a40e13319bb906a5215eb7255609295e5dd0 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 14 Sep 2025 09:09:45 +0200 Subject: [PATCH] feat: Allow to disable download methods --- src/define.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/define.sh b/src/define.sh index bd41f80..c82c8ca 100644 --- a/src/define.sh +++ b/src/define.sh @@ -1313,6 +1313,8 @@ isMido() { local lang="$2" local sum + [[ "${MIDO:-}" != [Yy1]* ]] && return 1 + sum=$(getMido "$id" "en" "sum") [ -n "$sum" ] && return 0 @@ -1324,6 +1326,8 @@ isESD() { local id="$1" local lang="$2" + [[ "${ESD:-}" != [Yy1]* ]] && return 1 + case "${id,,}" in "win11${PLATFORM,,}" | "win10${PLATFORM,,}" ) return 0