Merge pull request #245 from bombsquad-community/wait-for-scene-app-mode-to-activate

Wait for scene app mode to activate
This commit is contained in:
Loup 2024-04-11 13:56:00 +05:30 committed by GitHub
commit 7188f2705c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 15 additions and 8 deletions

View file

@ -1,5 +1,9 @@
## Plugin Manager (dd-mm-yyyy)
### 1.0.8 (11-04-2024)
- Avoid making app-mode related calls while `SceneAppMode` isn't set.
### 1.0.7 (22-02-2024)
- Fix searching in plugin manager with capital letters.

View file

@ -1,6 +1,12 @@
{
"plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py",
"versions": {
"1.0.8": {
"api_version": 8,
"commit_sha": "85b5727",
"released_on": "11-04-2024",
"md5sum": "74fbf98aa908fc2830f5973101e38b3a"
},
"1.0.7": {
"api_version": 8,
"commit_sha": "cf55d26",

View file

@ -4,8 +4,8 @@ from baenv import TARGET_BALLISTICA_BUILD
import babase
import _babase
import bauiv1 as bui
import _bauiv1 as _bui
import _bascenev1 as _bs
import _bauiv1
import _bascenev1
from bauiv1lib import popup, confirm
import urllib.request
@ -32,7 +32,7 @@ from threading import Thread
import logging
PLUGIN_MANAGER_VERSION = "1.0.7"
PLUGIN_MANAGER_VERSION = "1.0.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.
@ -64,11 +64,8 @@ if TARGET_BALLISTICA_BUILD < 21282:
babase.app.env.arcade = babase.app.arcade_mode
babase.app.env.headless = babase.app.arcade_mode
babase.app.env.demo = babase.app.demo_mode
protocol_version = babase.app.protocol_version
toolbar_test = babase.app.toolbar_test
else:
protocol_version = _bs.protocol_version()
toolbar_test = _bui.toolbar_test()
_bascenev1.protocol_version = lambda: babase.app.protocol_version
_bauiv1.toolbar_test = lambda: babase.app.toolbar_test
_env = _babase.env()