mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-04 17:02:12 +08:00
🎨 Update ghproxy address
This commit is contained in:
parent
3bc81ba580
commit
9f363942f2
@ -143,7 +143,7 @@ func getUpdatePkg() (downloadPkgURLs []string, checksum string, err error) {
|
|||||||
b3logURL := "https://release.b3log.org/siyuan/" + pkg
|
b3logURL := "https://release.b3log.org/siyuan/" + pkg
|
||||||
liuyunURL := "https://release.liuyun.io/siyuan/" + pkg
|
liuyunURL := "https://release.liuyun.io/siyuan/" + pkg
|
||||||
githubURL := "https://github.com/siyuan-note/siyuan/releases/download/v" + ver + "/" + pkg
|
githubURL := "https://github.com/siyuan-note/siyuan/releases/download/v" + ver + "/" + pkg
|
||||||
ghproxyURL := "https://mirror.ghproxy.com/" + githubURL
|
ghproxyURL := "https://ghfast.top/" + githubURL
|
||||||
if util.IsChinaCloud() {
|
if util.IsChinaCloud() {
|
||||||
downloadPkgURLs = append(downloadPkgURLs, b3logURL)
|
downloadPkgURLs = append(downloadPkgURLs, b3logURL)
|
||||||
downloadPkgURLs = append(downloadPkgURLs, liuyunURL)
|
downloadPkgURLs = append(downloadPkgURLs, liuyunURL)
|
||||||
|
Loading…
Reference in New Issue
Block a user