diff --git a/CHANGELOG.md b/CHANGELOG.md index 9563ec7..9cc832d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## Plugin Manager (dd-mm-yyyy) +### 1.0.20 (13-05-2024) + +- Now compatible with BS version 1.7.35+. +- Updated build_number and version attributes to latest. +- FIX: Changelog for all version was shown after refreshing + ### 1.0.19 (05-05-2024) - Fixed an issue where changelogs were not displayed. diff --git a/index.json b/index.json index ac917b6..155fd08 100644 --- a/index.json +++ b/index.json @@ -1,6 +1,12 @@ { "plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py", "versions": { + "1.0.20": { + "api_version": 8, + "commit_sha": "5ce10ce", + "released_on": "13-05-2024", + "md5sum": "eb49f952e59effaf4529017f4bed4f72" + }, "1.0.19": { "api_version": 8, "commit_sha": "b439c4b", diff --git a/plugin_manager.py b/plugin_manager.py index 3e5a322..154b96c 100644 --- a/plugin_manager.py +++ b/plugin_manager.py @@ -31,7 +31,7 @@ from datetime import datetime from threading import Thread import logging -PLUGIN_MANAGER_VERSION = "1.0.19" +PLUGIN_MANAGER_VERSION = "1.0.20" REPOSITORY_URL = "https://github.com/bombsquad-community/plugin-manager" # Current tag can be changed to "staging" or any other branch in # plugin manager repo for testing purpose. @@ -47,10 +47,10 @@ if TARGET_BALLISTICA_BUILD < 21282: babase.app.env = Dummy() - babase.app.env.build_number = babase.app.build_number + babase.app.env.engine_build_number = babase.app.build_number babase.app.env.device_name = babase.app.device_name babase.app.env.config_file_path = babase.app.config_file_path - babase.app.env.version = babase.app.version + babase.app.env.engine_version = babase.app.version babase.app.env.debug = babase.app.debug_build babase.app.env.test = babase.app.test_build babase.app.env.data_directory = babase.app.data_directory @@ -66,6 +66,12 @@ if TARGET_BALLISTICA_BUILD < 21282: _bascenev1.protocol_version = lambda: babase.app.protocol_version _bauiv1.toolbar_test = lambda: babase.app.toolbar_test +if TARGET_BALLISTICA_BUILD < 21852: + class Dummy(babase.app.env): + engine_build_number = babase.app.env.build_number + engine_version = babase.app.env.version + + babase.app.env = Dummy _env = _babase.env() _uiscale = bui.app.ui_v1.uiscale @@ -1460,6 +1466,7 @@ class PluginManager: category.cleanup() self.categories.clear() self._index.clear() + self._changelog = None self.unset_index_global_cache() async def refresh(self):