mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-07 12:50:03 +08:00
🐛 修复webui下载分支 (#2099)
This commit is contained in:
@@ -272,6 +272,9 @@ class StoreManager:
|
||||
repo_type = RepoType.ALIYUN
|
||||
elif source == "git":
|
||||
repo_type = RepoType.GITHUB
|
||||
else:
|
||||
if plugin_info.ali_url:
|
||||
repo_type = RepoType.ALIYUN
|
||||
module_path = plugin_info.module_path
|
||||
is_dir = plugin_info.is_dir
|
||||
github_url = plugin_info.github_url
|
||||
|
||||
@@ -57,6 +57,8 @@ class StorePluginInfo(BaseModel):
|
||||
"""是否为文件夹插件"""
|
||||
github_url: str | None = None
|
||||
"""github链接"""
|
||||
ali_url: str | None = None
|
||||
"""ali链接"""
|
||||
|
||||
@property
|
||||
def plugin_type_name(self):
|
||||
|
||||
Reference in New Issue
Block a user