diff --git a/CHANGELOG.md b/CHANGELOG.md index 3603c84e..45cca482 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## Plugin Manager (dd-mm-yyyy) +### 1.1.8 (23-02-2026) + +- Fix for bs 1.7.61 build no 22714 + ### 1.1.7 (15-02-2026) - Added function to fill form details for plugin bug report button diff --git a/index.json b/index.json index 3ee912d2..f9bc733b 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.1.8": { + "api_version": 9, + "commit_sha": "8222081", + "released_on": "23-02-2026", + "md5sum": "8e8e9fc5b818883102c6081619404318" + }, "1.1.7": { "api_version": 9, "commit_sha": "af881af", diff --git a/plugin_manager.py b/plugin_manager.py index 7e5b8a29..fce6017a 100644 --- a/plugin_manager.py +++ b/plugin_manager.py @@ -26,7 +26,7 @@ # Modules used for overriding AllSettingsWindow import logging -PLUGIN_MANAGER_VERSION = "1.1.7" +PLUGIN_MANAGER_VERSION = "1.1.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. @@ -43,7 +43,12 @@ "User-Agent": _env["legacy_user_agent_string"], } PLUGIN_DIRECTORY = _env["python_directory_user"] -loop = babase._asyncio._asyncio_event_loop + +# compatibility for older API versions. +if _env.get("build_number", 0) < 22714: + babase._asyncio._g_asyncio_event_loop = babase._asyncio._asyncio_event_loop + +loop = babase._asyncio._g_asyncio_event_loop open_popups = [] @@ -3415,7 +3420,7 @@ def on_app_running(self) -> None: from bauiv1lib.settings import allsettings allsettings.AllSettingsWindow = NewAllSettingsWindow DNSBlockWorkaround.apply() - asyncio.set_event_loop(babase._asyncio._asyncio_event_loop) + asyncio.set_event_loop(babase._asyncio._g_asyncio_event_loop) startup_tasks = StartupTasks() loop.create_task(startup_tasks.execute())