mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2026-03-19 02:19:45 +08:00
update miaosic source dependency
This commit is contained in:
@@ -51,6 +51,7 @@ func CheckUpdate() (model.VersionInfo, bool) {
|
||||
return model.VersionInfo{}, false
|
||||
}
|
||||
result := gjson.ParseBytes(resp.Body())
|
||||
log.Infof("check update result: %s", result.String())
|
||||
if !result.Get("data.has_update").Bool() {
|
||||
log.Infof("no update available")
|
||||
return model.VersionInfo{}, false
|
||||
|
||||
Submodule pkg/miaosic updated: 652e959c5a...f6ee3ce712
Reference in New Issue
Block a user