mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-12 18:24:21 +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
|
|
@ -87,9 +87,7 @@ func Themes() (ret []*Theme) {
|
|||
return
|
||||
}
|
||||
|
||||
if disallowDisplayBazaarPackage(theme.Package) {
|
||||
return
|
||||
}
|
||||
theme.DisallowInstall = disallowInstallBazaarPackage(theme.Package)
|
||||
|
||||
theme.URL = strings.TrimSuffix(theme.URL, "/")
|
||||
repoURLHash := strings.Split(repoURL, "@")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue