This commit is contained in:
hl committed 2026-07-23 19:00:11 +08:00
1 parent 91addc3cee
commit 3f866b6093
1 file changed
+3 -6
+3 -6
View File
@@ -42,18 +42,15 @@ main(){
echo
fi
dl_url=$(echo "$candidates" | cut -d '"' -f 4)
if $VERBOSE; then
echo "From:"
echo "$dl_url"
echo
fi
else
echo "Download from $DD_URL"
dl_url="$DD_URL"
fi
if [ $(echo -e "$dl_url" | wc -l) -ne 1 ] || [ -z "$dl_url" ]; then
exit 0
fi
echo "Download From:"
echo "$dl_url"
echo
if [ -z "$PROG_PATH" ]; then