mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
commit
293f08286b
2 changed files with 8 additions and 22 deletions
|
|
@ -1,6 +1,12 @@
|
|||
{
|
||||
"plugin_manager_url": "http://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py",
|
||||
"versions": {
|
||||
"0.1.6": {
|
||||
"api_version": 7,
|
||||
"commit_sha": "2a7ad8e",
|
||||
"released_on": "15-09-2022",
|
||||
"md5sum": "56950f6455606f7705eebd3e9a38c78f"
|
||||
},
|
||||
"0.1.5": {
|
||||
"api_version": 7,
|
||||
"commit_sha": "6998ded",
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ _env = _ba.env()
|
|||
_uiscale = ba.app.ui.uiscale
|
||||
|
||||
|
||||
PLUGIN_MANAGER_VERSION = "0.1.5"
|
||||
PLUGIN_MANAGER_VERSION = "0.1.6"
|
||||
REPOSITORY_URL = "http://github.com/bombsquad-community/plugin-manager"
|
||||
CURRENT_TAG = "main"
|
||||
# XXX: Using https with `ba.open_url` seems to trigger a pop-up dialog box on
|
||||
|
|
@ -832,6 +832,7 @@ class PluginWindow(popup.PopupWindow):
|
|||
size=(40, 40),
|
||||
button_type="square",
|
||||
label="",
|
||||
color=(0, 0.75, 0.75),
|
||||
on_activate_call=self.settings)
|
||||
ba.imagewidget(parent=self._root_widget,
|
||||
position=(settings_pos_x, settings_pos_y),
|
||||
|
|
@ -2088,24 +2089,3 @@ class EntryPoint(ba.Plugin):
|
|||
startup_tasks = StartupTasks()
|
||||
loop = asyncio.get_event_loop()
|
||||
loop.create_task(startup_tasks.execute())
|
||||
# loop = asyncio.get_event_loop()
|
||||
# loop.create_task(do())
|
||||
# pm = PluginManager()
|
||||
# pm.plugin_index()
|
||||
|
||||
def on_app_pause(self) -> None:
|
||||
"""Called after pausing game activity."""
|
||||
print("pause")
|
||||
|
||||
def on_app_resume(self) -> None:
|
||||
"""Called after the game continues."""
|
||||
print("resume")
|
||||
|
||||
def on_app_shutdown(self) -> None:
|
||||
"""Called before closing the application."""
|
||||
print("shutdown")
|
||||
# print(ba.app.config["Community Plugin Manager"])
|
||||
# with open(_env["config_file_path"], "r") as fin:
|
||||
# c = fin.read()
|
||||
# import json
|
||||
# print(json.loads(c)["Community Plugin Manager"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue