mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Merge pull request #276 from bombsquad-community/pre_release
bs 1.7.35 compatibility
This commit is contained in:
commit
c42ffea998
3 changed files with 22 additions and 3 deletions
|
|
@ -1,5 +1,11 @@
|
|||
## Plugin Manager (dd-mm-yyyy)
|
||||
|
||||
### 1.0.20 (13-05-2024)
|
||||
|
||||
- Now compatible with BS version 1.7.35+.
|
||||
- Updated build_number and version attributes to latest.
|
||||
- FIX: Changelog for all version was shown after refreshing
|
||||
|
||||
### 1.0.19 (05-05-2024)
|
||||
|
||||
- Fixed an issue where changelogs were not displayed.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,12 @@
|
|||
{
|
||||
"plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py",
|
||||
"versions": {
|
||||
"1.0.20": {
|
||||
"api_version": 8,
|
||||
"commit_sha": "5ce10ce",
|
||||
"released_on": "13-05-2024",
|
||||
"md5sum": "eb49f952e59effaf4529017f4bed4f72"
|
||||
},
|
||||
"1.0.19": {
|
||||
"api_version": 8,
|
||||
"commit_sha": "b439c4b",
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ from datetime import datetime
|
|||
from threading import Thread
|
||||
import logging
|
||||
|
||||
PLUGIN_MANAGER_VERSION = "1.0.19"
|
||||
PLUGIN_MANAGER_VERSION = "1.0.20"
|
||||
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.
|
||||
|
|
@ -47,10 +47,10 @@ if TARGET_BALLISTICA_BUILD < 21282:
|
|||
|
||||
babase.app.env = Dummy()
|
||||
|
||||
babase.app.env.build_number = babase.app.build_number
|
||||
babase.app.env.engine_build_number = babase.app.build_number
|
||||
babase.app.env.device_name = babase.app.device_name
|
||||
babase.app.env.config_file_path = babase.app.config_file_path
|
||||
babase.app.env.version = babase.app.version
|
||||
babase.app.env.engine_version = babase.app.version
|
||||
babase.app.env.debug = babase.app.debug_build
|
||||
babase.app.env.test = babase.app.test_build
|
||||
babase.app.env.data_directory = babase.app.data_directory
|
||||
|
|
@ -66,6 +66,12 @@ if TARGET_BALLISTICA_BUILD < 21282:
|
|||
_bascenev1.protocol_version = lambda: babase.app.protocol_version
|
||||
_bauiv1.toolbar_test = lambda: babase.app.toolbar_test
|
||||
|
||||
if TARGET_BALLISTICA_BUILD < 21852:
|
||||
class Dummy(babase.app.env):
|
||||
engine_build_number = babase.app.env.build_number
|
||||
engine_version = babase.app.env.version
|
||||
|
||||
babase.app.env = Dummy
|
||||
|
||||
_env = _babase.env()
|
||||
_uiscale = bui.app.ui_v1.uiscale
|
||||
|
|
@ -1460,6 +1466,7 @@ class PluginManager:
|
|||
category.cleanup()
|
||||
self.categories.clear()
|
||||
self._index.clear()
|
||||
self._changelog = None
|
||||
self.unset_index_global_cache()
|
||||
|
||||
async def refresh(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue