Skip to content

Commit

Permalink
Version 2.1.4
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
ItsEasyActually authored Mar 20, 2024
1 parent 70d4a66 commit f8e75df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion blender/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": "",
Expand Down
2 changes: 1 addition & 1 deletion blender/__initdev__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": "",
Expand Down
4 changes: 2 additions & 2 deletions blender/source/register/addon_updater/addon_updater_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f8e75df

Please # to comment.