From a94f7af82306ea719d44fbb739b1d3234f5d863c Mon Sep 17 00:00:00 2001 From: Vishal Date: Thu, 21 Jul 2022 19:09:58 +0530 Subject: [PATCH 1/2] Updating API (6 -> 7) --- plugin_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin_manager.py b/plugin_manager.py index a415601..d7655dd 100644 --- a/plugin_manager.py +++ b/plugin_manager.py @@ -1,4 +1,4 @@ -# ba_meta require api 6 +# ba_meta require api 7 import ba import _ba import bastd From 1cdfd7b722d8fc0cf4374f6d3a6e0a313c2f2d51 Mon Sep 17 00:00:00 2001 From: Vishal Date: Thu, 21 Jul 2022 19:12:31 +0530 Subject: [PATCH 2/2] on_app_launch -> on_app_running --- plugin_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin_manager.py b/plugin_manager.py index d7655dd..ac291a7 100644 --- a/plugin_manager.py +++ b/plugin_manager.py @@ -657,7 +657,7 @@ class NewAllSettingsWindow(ba.Window): # ba_meta export plugin class EntryPoint(ba.Plugin): - def on_app_launch(self) -> None: + def on_app_running(self) -> None: """Called when the app is being launched.""" from bastd.ui.settings import allsettings allsettings.AllSettingsWindow = NewAllSettingsWindow