fix for latest version

This commit is contained in:
Loup-Garou911XD 2026-02-23 17:29:39 +05:30
parent 3e5873b5c8
commit 822208149c
No known key found for this signature in database
GPG key ID: 296405D97C924E54
3 changed files with 13 additions and 3 deletions

View file

@ -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

View file

@ -1,6 +1,7 @@
{
"plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py",
"versions": {
"1.1.8": null,
"1.1.7": {
"api_version": 9,
"commit_sha": "af881af",

View file

@ -26,7 +26,7 @@ from datetime import datetime
# 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 @@ HEADERS = {
"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 @@ class EntryPoint(babase.Plugin):
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())