From 3c9dc0a127db1bbfecaa411953338430637eab3f Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 19 Dec 2024 17:09:48 +0800 Subject: [PATCH 1/4] Update info.json --- plugins/mysql-community/info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mysql-community/info.json b/plugins/mysql-community/info.json index 4749211de6..22c3eb7cab 100755 --- a/plugins/mysql-community/info.json +++ b/plugins/mysql-community/info.json @@ -3,7 +3,7 @@ "hook":["database"], "title":"MySQL[Tar]", "tip":"soft", - "name":"mysql-community", + "name":"mysql[tar]", "type":"运行环境", "ps":"一种关系数据库管理系统(极速安装)", "todo_versions":["5.7","8.0"], From dc4ff9b694f5d71d63d43ac59258d80041667803 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 19 Dec 2024 17:12:49 +0800 Subject: [PATCH 2/4] Update info.json --- plugins/mysql-community/info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mysql-community/info.json b/plugins/mysql-community/info.json index 22c3eb7cab..4749211de6 100755 --- a/plugins/mysql-community/info.json +++ b/plugins/mysql-community/info.json @@ -3,7 +3,7 @@ "hook":["database"], "title":"MySQL[Tar]", "tip":"soft", - "name":"mysql[tar]", + "name":"mysql-community", "type":"运行环境", "ps":"一种关系数据库管理系统(极速安装)", "todo_versions":["5.7","8.0"], From 9f37033e5c4e2892f9be7b9abd78b0717241f510 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 19 Dec 2024 17:24:34 +0800 Subject: [PATCH 3/4] Update plugin.py --- web/utils/plugin.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/web/utils/plugin.py b/web/utils/plugin.py index ad40d47f46..a897d4bdb7 100644 --- a/web/utils/plugin.py +++ b/web/utils/plugin.py @@ -363,7 +363,14 @@ def checkIndexList(self, name, version): indexList = thisdb.getOptionByJson('display_index',default=[]) for i in indexList: t = i.split('-') - if t[0] == name: + tlen = len(t) + plugin_name = t[0] + plugin_ver = t[1] + if tlen > 2: + tArr = t[0:tlen - 1] + plugin_name = '-'.join(tArr) + plugin_ver = t[tlen - 1] + if plugin_name == name: return True return False From 26fa9378f569e1821c57fb0397ccd56dcfac4857 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 19 Dec 2024 17:26:57 +0800 Subject: [PATCH 4/4] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index dd1b76bdb7..e5fc6969cb 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,6 @@ * SSH终端工具 * 面板收藏功能 -* 网站子目录绑定 * 网站备份功能 * 插件方式管理