mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-11-07 17:36:00 +00:00
Update - 1.0.11
This commit is contained in:
parent
45e7b7358c
commit
4228b3e4e8
2 changed files with 8 additions and 4 deletions
|
|
@ -1,6 +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.11": null,
|
||||||
"1.0.10": {
|
"1.0.10": {
|
||||||
"api_version": 8,
|
"api_version": 8,
|
||||||
"commit_sha": "6dd86ef",
|
"commit_sha": "6dd86ef",
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ from threading import Thread
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
|
||||||
PLUGIN_MANAGER_VERSION = "1.0.10"
|
PLUGIN_MANAGER_VERSION = "1.0.11"
|
||||||
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.
|
||||||
|
|
@ -1004,7 +1004,11 @@ class PluginWindow(popup.PopupWindow):
|
||||||
|
|
||||||
if to_draw_button1:
|
if to_draw_button1:
|
||||||
bui.buttonwidget(parent=self._root_widget,
|
bui.buttonwidget(parent=self._root_widget,
|
||||||
position=(width * 0.1, pos),
|
position=(
|
||||||
|
width * (
|
||||||
|
0.1 if self.plugin.is_installed and has_update else
|
||||||
|
0.25 if self.plugin.is_installed else
|
||||||
|
0.4), pos),
|
||||||
size=button_size,
|
size=button_size,
|
||||||
on_activate_call=button1_action,
|
on_activate_call=button1_action,
|
||||||
color=b1_color,
|
color=b1_color,
|
||||||
|
|
@ -1015,7 +1019,7 @@ class PluginWindow(popup.PopupWindow):
|
||||||
|
|
||||||
if self.plugin.is_installed:
|
if self.plugin.is_installed:
|
||||||
bui.buttonwidget(parent=self._root_widget,
|
bui.buttonwidget(parent=self._root_widget,
|
||||||
position=(width * 0.4, pos),
|
position=(width * (0.4 if has_update else 0.55), pos),
|
||||||
size=button_size,
|
size=button_size,
|
||||||
on_activate_call=button2_action,
|
on_activate_call=button2_action,
|
||||||
color=b2_color,
|
color=b2_color,
|
||||||
|
|
@ -1025,7 +1029,6 @@ class PluginWindow(popup.PopupWindow):
|
||||||
label=button2_label)
|
label=button2_label)
|
||||||
|
|
||||||
if has_update:
|
if has_update:
|
||||||
# button3 =
|
|
||||||
bui.buttonwidget(parent=self._root_widget,
|
bui.buttonwidget(parent=self._root_widget,
|
||||||
position=(width * 0.7, pos),
|
position=(width * 0.7, pos),
|
||||||
size=button_size,
|
size=button_size,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue