🐛 修复webui下载分支 (#2099)

This commit is contained in:
HibiKier
2026-02-09 15:56:44 +08:00
committed by GitHub
parent 5e30694663
commit d1c24436ce
6 changed files with 51 additions and 34 deletions
@@ -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):