Skip to content

Commit 272bc0c

Browse files
Merge pull request #445 from Loup-Garou911XD/main
fix for bs build 22714
2 parents 3e5873b + ea78bf0 commit 272bc0c

3 files changed

Lines changed: 18 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Plugin Manager (dd-mm-yyyy)
22

3+
### 1.1.8 (23-02-2026)
4+
5+
- Fix for bs 1.7.61 build no 22714
6+
37
### 1.1.7 (15-02-2026)
48

59
- Added function to fill form details for plugin bug report button

index.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
{
22
"plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py",
33
"versions": {
4+
"1.1.8": {
5+
"api_version": 9,
6+
"commit_sha": "8222081",
7+
"released_on": "23-02-2026",
8+
"md5sum": "8e8e9fc5b818883102c6081619404318"
9+
},
410
"1.1.7": {
511
"api_version": 9,
612
"commit_sha": "af881af",

plugin_manager.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# Modules used for overriding AllSettingsWindow
2727
import logging
2828

29-
PLUGIN_MANAGER_VERSION = "1.1.7"
29+
PLUGIN_MANAGER_VERSION = "1.1.8"
3030
REPOSITORY_URL = "https://github.com/bombsquad-community/plugin-manager"
3131
# Current tag can be changed to "staging" or any other branch in
3232
# plugin manager repo for testing purpose.
@@ -43,7 +43,12 @@
4343
"User-Agent": _env["legacy_user_agent_string"],
4444
}
4545
PLUGIN_DIRECTORY = _env["python_directory_user"]
46-
loop = babase._asyncio._asyncio_event_loop
46+
47+
# compatibility for older API versions.
48+
if _env.get("build_number", 0) < 22714:
49+
babase._asyncio._g_asyncio_event_loop = babase._asyncio._asyncio_event_loop
50+
51+
loop = babase._asyncio._g_asyncio_event_loop
4752

4853
open_popups = []
4954

@@ -3415,7 +3420,7 @@ def on_app_running(self) -> None:
34153420
from bauiv1lib.settings import allsettings
34163421
allsettings.AllSettingsWindow = NewAllSettingsWindow
34173422
DNSBlockWorkaround.apply()
3418-
asyncio.set_event_loop(babase._asyncio._asyncio_event_loop)
3423+
asyncio.set_event_loop(babase._asyncio._g_asyncio_event_loop)
34193424
startup_tasks = StartupTasks()
34203425

34213426
loop.create_task(startup_tasks.execute())

0 commit comments

Comments
 (0)