🎨 Improve upgrade download

This commit is contained in:
Daniel 2024-03-25 18:03:03 +08:00
parent f723206423
commit c6b48882e1
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 12 additions and 4 deletions

View file

@ -18,6 +18,10 @@ package util
var CurrentCloudRegion = 0
func IsChinaCloud() bool {
return 0 == CurrentCloudRegion
}
func GetCloudServer() string {
if 0 == CurrentCloudRegion {
return chinaServer