From 03d07c13b149c1127b99c19952c5e9378c3ef2f5 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Sat, 2 Mar 2024 19:01:33 -0600 Subject: [PATCH] fix: Pulling the signature files instead of the executables --- src/ReVancedBuilder/ReVancedBuilder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReVancedBuilder/ReVancedBuilder.py b/src/ReVancedBuilder/ReVancedBuilder.py index 9f018ef..4cec141 100755 --- a/src/ReVancedBuilder/ReVancedBuilder.py +++ b/src/ReVancedBuilder/ReVancedBuilder.py @@ -24,7 +24,7 @@ def update_tools(appstate): for item in ['revanced-cli', 'revanced-integrations', 'revanced-patches']: print(f"Checking updates for {item}...") tools = appstate['tools'] - *_, tool = filter(lambda x: x['repository'] == 'revanced/'+item, tools) # Get the last result + tool = filter(lambda x: x['repository'] == 'revanced/'+item and x['content_type'] not in ['application/pgp-keys', 'application/json'], tools) latest_ver = Version(tool['version']) try: