diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d1f3d5..48ec792 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## Plugin Manager (dd-mm-yyyy) +### 1.0.8 (11-04-2024) + +- Avoid making app-mode related calls while `SceneAppMode` isn't set. + ### 1.0.7 (22-02-2024) - Fix searching in plugin manager with capital letters. diff --git a/index.json b/index.json index 2af2975..20baf29 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.8": { + "api_version": 8, + "commit_sha": "85b5727", + "released_on": "11-04-2024", + "md5sum": "74fbf98aa908fc2830f5973101e38b3a" + }, "1.0.7": { "api_version": 8, "commit_sha": "cf55d26", diff --git a/plugin_manager.py b/plugin_manager.py index 545d41b..47507bc 100644 --- a/plugin_manager.py +++ b/plugin_manager.py @@ -4,8 +4,8 @@ from baenv import TARGET_BALLISTICA_BUILD import babase import _babase import bauiv1 as bui -import _bauiv1 as _bui -import _bascenev1 as _bs +import _bauiv1 +import _bascenev1 from bauiv1lib import popup, confirm import urllib.request @@ -32,7 +32,7 @@ from threading import Thread import logging -PLUGIN_MANAGER_VERSION = "1.0.7" +PLUGIN_MANAGER_VERSION = "1.0.8" 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. @@ -64,11 +64,8 @@ if TARGET_BALLISTICA_BUILD < 21282: babase.app.env.arcade = babase.app.arcade_mode babase.app.env.headless = babase.app.arcade_mode babase.app.env.demo = babase.app.demo_mode - protocol_version = babase.app.protocol_version - toolbar_test = babase.app.toolbar_test -else: - protocol_version = _bs.protocol_version() - toolbar_test = _bui.toolbar_test() + _bascenev1.protocol_version = lambda: babase.app.protocol_version + _bauiv1.toolbar_test = lambda: babase.app.toolbar_test _env = _babase.env()