mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Update plugin_manager.py
This commit is contained in:
parent
e57c541762
commit
68360e7714
1 changed files with 2 additions and 2 deletions
|
|
@ -810,7 +810,7 @@ class Plugin:
|
|||
break
|
||||
if self._latest_compatible_version is None:
|
||||
raise NoCompatibleVersion(
|
||||
f"{self.name} has no version compatible with API {babase.app.api_version}."
|
||||
f"{self.name} has no version compatible with API {babase.app.api_version if build_number < 21282 else babase.app.env.api_version}."
|
||||
)
|
||||
return self._latest_compatible_version
|
||||
|
||||
|
|
@ -2072,7 +2072,7 @@ class PluginManagerSettingsWindow(popup.PopupWindow):
|
|||
size=(0, 0),
|
||||
h_align='center',
|
||||
v_align='center',
|
||||
text=f'API Version: {babase.app.api_version}',
|
||||
text=f'API Version: {babase.app.api_version if build_number < 21282 else babase.app.env.api_version}',
|
||||
scale=text_scale * 0.7,
|
||||
color=(0.4, 0.8, 1),
|
||||
maxwidth=width * 0.95)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue