🎨 One-click upgrade of downloaded marketplace packages https://github.com/siyuan-note/siyuan/issues/8390

This commit is contained in:
Daniel 2024-03-21 10:32:16 +08:00
parent 77350cc6fa
commit c45e80b9e0
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 30 additions and 0 deletions

View file

@ -29,6 +29,15 @@ import (
"github.com/siyuan-note/siyuan/kernel/bazaar"
)
func BazaarPackages(frontend string) (plugins []*bazaar.Plugin, widgets []*bazaar.Widget, icons []*bazaar.Icon, themes []*bazaar.Theme, templates []*bazaar.Template) {
plugins = BazaarPlugins(frontend, "")
widgets = BazaarWidgets("")
icons = BazaarIcons("")
themes = BazaarThemes("")
templates = BazaarTemplates("")
return
}
func GetPackageREADME(repoURL, repoHash, packageType string) (ret string) {
ret = bazaar.GetPackageREADME(repoURL, repoHash, packageType)
return