From a28b09a9a4f1e6317cba08086b88a42f377cfadd Mon Sep 17 00:00:00 2001 From: Michael Weibel Date: Fri, 21 Jul 2023 13:12:55 +0200 Subject: [PATCH] version 0.1.10 - asset dl url with releases --- helio_blender_addon/__init__.py | 2 +- helio_blender_addon/addon_updater_ops.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/helio_blender_addon/__init__.py b/helio_blender_addon/__init__.py index 848e2df..f6352c8 100644 --- a/helio_blender_addon/__init__.py +++ b/helio_blender_addon/__init__.py @@ -22,7 +22,7 @@ bl_info = { "name": "Helio Cloud Rendering", "blender": (3, 20, 0), - "version": (0, 1, 9), + "version": (0, 1, 10), "category": "Render", "tracker_url": "https://github.com/helio/blender-addon/issues" } diff --git a/helio_blender_addon/addon_updater_ops.py b/helio_blender_addon/addon_updater_ops.py index 63ee7ef..c6c216f 100644 --- a/helio_blender_addon/addon_updater_ops.py +++ b/helio_blender_addon/addon_updater_ops.py @@ -1298,8 +1298,8 @@ def select_link_function(self, tag): link = tag["zipball_url"] # -- Example: select the first (or only) asset instead source code -- - # if "assets" in tag and "browser_download_url" in tag["assets"][0]: - # link = tag["assets"][0]["browser_download_url"] + if "assets" in tag and "browser_download_url" in tag["assets"][0]: + link = tag["assets"][0]["browser_download_url"] # -- Example: select asset based on OS, where multiple builds exist -- # # not tested/no error checking, modify to fit your own needs!