Update haos-vm.sh

This commit is contained in:
tteckster 2022-04-16 14:00:19 -04:00 committed by GitHub
parent 330d42aee8
commit 48222394aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,7 +125,7 @@ for release in r:
if not release['prerelease']: if not release['prerelease']:
continue continue
for asset in release['assets']: for asset in release['assets']:
if asset['name'].endswith('$RELEASE_EXT'): if asset['name'].endswith('$RELEASE_TYPE'):
global image_url global image_url
image_url = asset['browser_download_url'] image_url = asset['browser_download_url']
break break