mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
New fixes
This commit is contained in:
parent
79244decde
commit
da62efcf2b
4 changed files with 8 additions and 18 deletions
|
|
@ -1,12 +1,7 @@
|
||||||
{
|
{
|
||||||
"plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py",
|
"plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py",
|
||||||
"versions": {
|
"versions": {
|
||||||
"1.0.0": {
|
"1.0.0": null,
|
||||||
"api_version": 8,
|
|
||||||
"commit_sha": "4cb7d21",
|
|
||||||
"released_on": "20-06-2023",
|
|
||||||
"md5sum": "466272e4933946258751f84f956f862e"
|
|
||||||
},
|
|
||||||
"0.3.5": {
|
"0.3.5": {
|
||||||
"api_version": 7,
|
"api_version": 7,
|
||||||
"commit_sha": "985e486",
|
"commit_sha": "985e486",
|
||||||
|
|
@ -110,4 +105,4 @@
|
||||||
"https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/maps.json"
|
"https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/maps.json"
|
||||||
],
|
],
|
||||||
"external_source_url": "https://github.com/{repository}/{content_type}/{tag}/category.json"
|
"external_source_url": "https://github.com/{repository}/{content_type}/{tag}/category.json"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -41,8 +41,8 @@ HEADERS = {
|
||||||
"User-Agent": _env["legacy_user_agent_string"],
|
"User-Agent": _env["legacy_user_agent_string"],
|
||||||
}
|
}
|
||||||
PLUGIN_DIRECTORY = _env["python_directory_user"]
|
PLUGIN_DIRECTORY = _env["python_directory_user"]
|
||||||
def _regexp_friendly_class_name_shortcut(string): return string.replace(".", "\.")
|
|
||||||
|
|
||||||
|
_regexp_friendly_class_name_shortcut = lambda string: string.replace(".", "\\.")
|
||||||
|
|
||||||
REGEXP = {
|
REGEXP = {
|
||||||
"plugin_api_version": re.compile(b"(?<=ba_meta require api )(.*)"),
|
"plugin_api_version": re.compile(b"(?<=ba_meta require api )(.*)"),
|
||||||
|
|
|
||||||
|
|
@ -223,12 +223,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"versions": {
|
"versions": {
|
||||||
"2.0.0": {
|
"2.0.0": null,
|
||||||
"api_version": 8,
|
|
||||||
"commit_sha": "9cfd0db",
|
|
||||||
"released_on": "08-06-2023",
|
|
||||||
"md5sum": "92390046cc91e147ebcd97df7390527f"
|
|
||||||
},
|
|
||||||
"1.2.3": {
|
"1.2.3": {
|
||||||
"api_version": 7,
|
"api_version": 7,
|
||||||
"commit_sha": "7753b87",
|
"commit_sha": "7753b87",
|
||||||
|
|
@ -715,4 +710,4 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -147,7 +147,7 @@ class ColorSchemeWindow(bui.Window):
|
||||||
# NOTE: Most of the stuff here for drawing the UI is referred from the
|
# NOTE: Most of the stuff here for drawing the UI is referred from the
|
||||||
# legacy (1.6 < version <= 1.7.19) game's bastd/ui/profile/edit.py, and
|
# legacy (1.6 < version <= 1.7.19) game's bastd/ui/profile/edit.py, and
|
||||||
# so there could be some cruft here due to my oversight.
|
# so there could be some cruft here due to my oversight.
|
||||||
uiscale = bui.app.classic.ui.uiscale
|
uiscale = bui.app.ui_v1.uiscale
|
||||||
self._width = width = 480.0 if uiscale is babase.UIScale.SMALL else 380.0
|
self._width = width = 480.0 if uiscale is babase.UIScale.SMALL else 380.0
|
||||||
self._x_inset = x_inset = 40.0 if uiscale is babase.UIScale.SMALL else 0.0
|
self._x_inset = x_inset = 40.0 if uiscale is babase.UIScale.SMALL else 0.0
|
||||||
self._height = height = (
|
self._height = height = (
|
||||||
|
|
@ -241,7 +241,7 @@ class ColorSchemeWindow(bui.Window):
|
||||||
draw_controller=self._color_button,
|
draw_controller=self._color_button,
|
||||||
text=babase.Lstr(resource="editProfileWindow.colorText"),
|
text=babase.Lstr(resource="editProfileWindow.colorText"),
|
||||||
scale=0.7,
|
scale=0.7,
|
||||||
color=bui.app.classic.ui.title_color,
|
color=bui.app.ui_v1.title_color,
|
||||||
maxwidth=120,
|
maxwidth=120,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -268,7 +268,7 @@ class ColorSchemeWindow(bui.Window):
|
||||||
draw_controller=self._highlight_button,
|
draw_controller=self._highlight_button,
|
||||||
text=babase.Lstr(resource="editProfileWindow.highlightText"),
|
text=babase.Lstr(resource="editProfileWindow.highlightText"),
|
||||||
scale=0.7,
|
scale=0.7,
|
||||||
color=bui.app.classic.ui.title_color,
|
color=bui.app.ui_v1.title_color,
|
||||||
maxwidth=120,
|
maxwidth=120,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue