add show changelog

This commit is contained in:
Ing 2024-03-31 03:59:15 +08:00
parent 8cb284f49b
commit 07bac01ee2
8 changed files with 2325 additions and 2304 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -2642,6 +2642,21 @@ function downloadExts() {
--infobox "${MSG}" 0 0
return 1
fi
else
MSG=""
MSG+="Latest: ${TAG}\n\n"
MSG+="$(curl -skL --connect-timeout 10 "${PROXY}${3}/releases/tag/${TAG}" | pup 'div[data-test-selector="body-content"]' | html2text -utf8)\n\n"
MSG+="$(TEXT "Do you want to update?")"
if [ "${5}" = "-1" ]; then
echo "${T} - ${MSG}"
elif [ "${5}" = "0" ]; then
DIALOG --title "${T}" \
--yesno "$(echo -e "${MSG}")" 0 0
[ $? -ne 0 ] && return 1
else
DIALOG --title "${T}" \
--infobox "$(echo -e "${MSG}")" 0 0
fi
fi
if [ "${5}" = "-1" ]; then
(