mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2026-05-02 21:39:38 +08:00
Merge pull request #12 from AynaLivePlayer/dev
fix kuwo. fix local lyric.
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...a3a2c436a5
Reference in New Issue
Block a user