Skip to content

Commit

Permalink
修改bug
Browse files Browse the repository at this point in the history
  • Loading branch information
forget-the-bright committed Mar 29, 2023
1 parent 179d695 commit 53d83ce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cli/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ func fundVersion(version string) *config.UrlItem {
config.Url_Items = collector.ConvertCollectorToUrlItem(collector.GetOpenJDKArchiveReleasesInfo(), false)
for _, v := range config.Url_Items {
if v.SimpleName == version { //strings.Contains(v.SimpleName, version)
v.In.Sha256 = collector.GetSha256ByUrl(v.In.Sha256, true)
if version != "8" {
v.In.Sha256 = collector.GetSha256ByUrl(v.In.Sha256, true)
}
return v
}
}
Expand Down

0 comments on commit 53d83ce

Please sign in to comment.