misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
ddeefa037d
commit
0cdb8c3221
@ -51,7 +51,7 @@ def check(version, repo, native=True):
|
||||
# check if this release is compatible with arm6
|
||||
for asset in latest['assets']:
|
||||
download_url = asset['browser_download_url']
|
||||
if download_url.endswith('.zip') and (arch in download_url or is_arm and 'armhf' in download_url):
|
||||
if download_url.endswith('.zip') and (info['arch'] in download_url or (is_arm and 'armhf' in download_url)):
|
||||
info['url'] = download_url
|
||||
break
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user