From f8e75df1f414ee3c44bfec7a8a95f88cc55dedb4 Mon Sep 17 00:00:00 2001 From: ItsEasyActually Date: Wed, 20 Mar 2024 17:04:22 -0400 Subject: [PATCH] Version 2.1.4 - Corrected the overwrite_patterns updater variable to include dll, json, and blend files. Should fix the issue of the addon not fully updating. - Changed updater's include_branches to False. It enables pulling from branches, but the addon requires being a release build to function properly. --- blender/__init__.py | 2 +- blender/__initdev__.py | 2 +- blender/source/register/addon_updater/addon_updater_ops.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/blender/__init__.py b/blender/__init__.py index 3dfd08e..5aa0734 100644 --- a/blender/__init__.py +++ b/blender/__init__.py @@ -6,7 +6,7 @@ "name": "Sonic Adventure I/O", "author": "Justin113D, ItsEasyActually, X-Hax", "description": "Import/Exporter for Sonic Adventure Model, Animation and other Formats.", - "version": (2, 1, 3), + "version": (2, 1, 4), "blender": (4, 0, 0), "location": "", "warning": "", diff --git a/blender/__initdev__.py b/blender/__initdev__.py index c82a4ae..53c1cff 100644 --- a/blender/__initdev__.py +++ b/blender/__initdev__.py @@ -6,7 +6,7 @@ "name": "Sonic Adventure I/O TEST BUILD", "author": "Justin113D, ItsEasyActually, X-Hax", "description": "Import/Exporter for Sonic Adventure Model, Animation and other Formats.", - "version": (2, 1, 3), + "version": (2, 1, 4), "blender": (4, 0, 0), "location": "", "warning": "", diff --git a/blender/source/register/addon_updater/addon_updater_ops.py b/blender/source/register/addon_updater/addon_updater_ops.py index 542a963..fda42b8 100644 --- a/blender/source/register/addon_updater/addon_updater_ops.py +++ b/blender/source/register/addon_updater/addon_updater_ops.py @@ -1408,7 +1408,7 @@ def register(bl_info): # update. If a pattern file is not found in new update, no action is taken # NOTE: This does NOT delete anything proactively, rather only defines what # is allowed to be overwritten during an update execution. - updater.overwrite_patterns = ["*.png", "*.jpg", "README.md", "LICENSE.txt"] + updater.overwrite_patterns = ["*.dll", "*.json", "*.blend"] # updater.overwrite_patterns = [] # other examples: # ["*"] means ALL files/folders will be overwritten by update, was the @@ -1446,7 +1446,7 @@ def register(bl_info): # but the user has the option from user preferences to directly # update to the master branch or any other branches specified using # the "install {branch}/older version" operator. - updater.include_branches = True + updater.include_branches = False # (GitHub only) This options allows using "releases" instead of "tags", # which enables pulling down release logs/notes, as well as installs update