1
0
鏡像自 https://github.com/dockur/windows.git 已同步 2026-06-12 13:19:34 +08:00

fix: Progress

此提交包含在:
Kroese
2024-01-14 17:25:33 +01:00
提交者 GitHub
父節點 89aeb9398c
當前提交 dc7a1a667a
+7
查看文件
@@ -6,6 +6,13 @@ set -Eeuo pipefail
BASE="$VERSION.iso"
[ -f "$STORAGE/$BASE" ] && return 0
# Check if running with interactive TTY or redirected to docker log
if [ -t 1 ]; then
PROGRESS="--progress=bar:noscroll"
else
PROGRESS="--progress=dot:giga"
fi
URL="https://raw.githubusercontent.com/ElliotKillick/Mido/main/Mido.sh"
{ wget "$URL" -O "$STORAGE/Mido.sh" -q --no-check-certificate; rc=$?; } || :