mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
⚡ 改进非订阅用户集市包下载速度 Fix https://github.com/siyuan-note/siyuan/issues/5779
This commit is contained in:
parent
b0de05da78
commit
00e0f6b7de
7 changed files with 21 additions and 25 deletions
|
|
@ -128,9 +128,9 @@ func Widgets() (widgets []*Widget) {
|
|||
return
|
||||
}
|
||||
|
||||
func InstallWidget(repoURL, repoHash, installPath string, chinaCDN bool, systemID string) error {
|
||||
func InstallWidget(repoURL, repoHash, installPath string, systemID string) error {
|
||||
repoURLHash := repoURL + "@" + repoHash
|
||||
data, err := downloadPackage(repoURLHash, chinaCDN, true, systemID)
|
||||
data, err := downloadPackage(repoURLHash, true, systemID)
|
||||
if nil != err {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue