🎨 Improve minimum version requirements for marketplace packages https://github.com/siyuan-note/siyuan/issues/16688

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-12-25 22:33:10 +08:00
parent d172fce34c
commit 5db1723bfc
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
6 changed files with 20 additions and 31 deletions

View file

@ -86,9 +86,7 @@ func Templates() (templates []*Template) {
return
}
if disallowDisplayBazaarPackage(template.Package) {
return
}
template.DisallowInstall = disallowInstallBazaarPackage(template.Package)
template.URL = strings.TrimSuffix(template.URL, "/")
repoURLHash := strings.Split(repoURL, "@")