mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-08 21:52:33 +01:00
🎨 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:
parent
d172fce34c
commit
5db1723bfc
6 changed files with 20 additions and 31 deletions
|
|
@ -85,10 +85,7 @@ func Icons() (icons []*Icon) {
|
|||
return
|
||||
}
|
||||
|
||||
if disallowDisplayBazaarPackage(icon.Package) {
|
||||
return
|
||||
}
|
||||
|
||||
icon.DisallowInstall = disallowInstallBazaarPackage(icon.Package)
|
||||
icon.URL = strings.TrimSuffix(icon.URL, "/")
|
||||
repoURLHash := strings.Split(repoURL, "@")
|
||||
icon.RepoURL = "https://github.com/" + repoURLHash[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue