Browse Source

Update haos-vm.sh

tteckster 3 năm trước cách đây
mục cha
commit
48222394aa
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      vm/haos-vm.sh

+ 1 - 1
vm/haos-vm.sh

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