mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 03:15:49 +00:00
feat: Allow to disable download methods
This commit is contained in:
parent
0bee329b7b
commit
e2c0a40e13
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue