chg: Be a little more verbose

This commit is contained in:
Sayantan Santra 2023-08-14 17:19:21 -05:00
parent 14370fc56c
commit f165f112c7
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -22,6 +22,7 @@ from ReVancedBuilder.Cleanup import move_apps, err_exit
# Update the ReVanced tools, if needed
def update_tools(appstate):
for item in ['revanced-cli', 'revanced-integrations', 'revanced-patches']:
print(f"Checking updates for {item}...")
*_, tool = filter(lambda x: x['repository'] == 'revanced/'+item, tools) # Get the last result
latest_ver = Version(tool['version'])
@ -48,6 +49,7 @@ def update_tools(appstate):
# Update microG, if needed
def update_microg(appstate):
print('Checking updates for Vanced microG...')
try:
data = req.get('https://api.github.com/repos/inotia00/VancedMicroG/releases/latest').json()['tag_name']
latest_ver = Version(data)