mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
add show changelog
This commit is contained in:
parent
8cb284f49b
commit
07bac01ee2
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
@ -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
|
||||
(
|
||||
|
Loading…
x
Reference in New Issue
Block a user