Browse Source

feat: Display download URL in debug mode

Kroese 8 giờ trước cách đây
mục cha
commit
726e7f2b11
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/mido.sh

+ 1 - 0
src/mido.sh

@@ -579,6 +579,7 @@ downloadFile() {
   fi
 
   info "$msg..."
+  [[ "$DEBUG" == [Yy1]* ]] && echo "Downloading $url"
 
   { wget "$url" -O "$iso" -q --timeout=30 --no-http-keep-alive --user-agent "$agent" --show-progress "$progress"; rc=$?; } || :