mirror of
https://github.com/dockur/windows.git
synced 2025-12-22 07:01:51 +00:00
feat: Allow to disable download methods
This commit is contained in:
parent
0bee329b7b
commit
e2c0a40e13
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user