Update plugin_manager.py

This commit is contained in:
Vishal 2024-04-21 15:35:56 +05:30 committed by GitHub
parent ca2731cf62
commit 6f42f2aa9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,7 +31,7 @@ from datetime import datetime
from threading import Thread from threading import Thread
import logging import logging
PLUGIN_MANAGER_VERSION = "1.0.13" PLUGIN_MANAGER_VERSION = "1.0.14"
REPOSITORY_URL = "https://github.com/bombsquad-community/plugin-manager" REPOSITORY_URL = "https://github.com/bombsquad-community/plugin-manager"
# Current tag can be changed to "staging" or any other branch in # Current tag can be changed to "staging" or any other branch in
# plugin manager repo for testing purpose. # plugin manager repo for testing purpose.
@ -954,15 +954,17 @@ class PluginWindow(popup.PopupWindow):
scale=text_scale * 1.25, color=color, scale=text_scale * 1.25, color=color,
maxwidth=width * 0.9) maxwidth=width * 0.9)
pos -= 25 pos -= 25
# author = # Author
text = 'by ' + ', '.join([author["name"] for author in self.plugin.info["authors"]])
bui.textwidget(parent=self._root_widget, bui.textwidget(parent=self._root_widget,
position=(width * 0.49, pos), position=(width * 0.49 - (len(text)*14/2), pos - 10),
size=(0, 0), size=(len(text)*14, 20),
h_align='center', h_align='center',
v_align='center', v_align='center',
text='by ' + self.plugin.info["authors"][0]["name"], text=text,
scale=text_scale * 0.8, scale=text_scale * 0.8,
color=color, maxwidth=width * 0.9) color=color,
maxwidth=width * 0.9)
pos -= 35 pos -= 35
# status = bui.textwidget(parent=self._root_widget, # status = bui.textwidget(parent=self._root_widget,
# position=(width * 0.49, pos), size=(0, 0), # position=(width * 0.49, pos), size=(0, 0),