重构:模块重命名 u-desk,更新所有依赖到最新版本
This commit is contained in:
@@ -47,7 +47,7 @@ func LoadUpdateConfig() (*UpdateConfig, error) {
|
||||
LastCheckTime: time.Time{},
|
||||
AutoCheckEnabled: true,
|
||||
CheckIntervalMinutes: 1,
|
||||
CheckURL: "https://img.1216.top/go-desk/last-version.json",
|
||||
CheckURL: "https://img.1216.top/u-desk/last-version.json",
|
||||
}, nil
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@ func LoadUpdateConfig() (*UpdateConfig, error) {
|
||||
|
||||
// 使用默认检查地址
|
||||
if config.CheckURL == "" {
|
||||
config.CheckURL = "https://img.1216.top/go-desk/last-version.json"
|
||||
config.CheckURL = "https://img.1216.top/u-desk/last-version.json"
|
||||
}
|
||||
|
||||
return &config, nil
|
||||
|
||||
Reference in New Issue
Block a user