mirror of
https://github.com/SinTan1729/ReVancedBuilder.git
synced 2024-12-25 20:28:37 -06:00
chg: Be a little more verbose
This commit is contained in:
parent
14370fc56c
commit
f165f112c7
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue