mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-06-16 17:29:51 +00:00
chore: disable update check error msg
This commit is contained in:
parent
af530f8943
commit
a5e27385c8
@ -20,11 +20,7 @@ type releaseInfo struct {
|
||||
|
||||
func checkUpdate() {
|
||||
info, err := fetchLatestRelease()
|
||||
if err != nil {
|
||||
logrus.WithFields(logrus.Fields{
|
||||
"error": err,
|
||||
}).Warn("Failed to check for updates")
|
||||
} else if info.TagName != appVersion {
|
||||
if err == nil && info.TagName != appVersion {
|
||||
logrus.WithFields(logrus.Fields{
|
||||
"version": info.TagName,
|
||||
"url": info.URL,
|
||||
|
Loading…
x
Reference in New Issue
Block a user