🎨 Update download mirror for ghproxy.com https://github.com/siyuan-note/siyuan/issues/9628

This commit is contained in:
Daniel 2023-11-11 18:07:07 +08:00
parent 70d8d72329
commit 4d218cd1e0
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -136,7 +136,7 @@ func getUpdatePkg() (downloadPkgURLs []string, checksum string, err error) {
b3logURL := "https://release.b3log.org/siyuan/" + pkg
downloadPkgURLs = append(downloadPkgURLs, b3logURL)
githubURL := "https://github.com/siyuan-note/siyuan/releases/download/v" + ver + "/" + pkg
ghproxyURL := "https://ghproxy.com/" + githubURL
ghproxyURL := "https://mirror.ghproxy.com/" + githubURL
downloadPkgURLs = append(downloadPkgURLs, ghproxyURL)
downloadPkgURLs = append(downloadPkgURLs, githubURL)