Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrohy committed Jan 13, 2022
1 parent 65099c8 commit cf0f015
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion data.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ func checkCfw() *cfwInfo {

func transDownloadUrl() string {
var url string
if specialVersion == "" {
if transWay == "" {
return ""
} else if specialVersion == "" {
fmt.Println(fmt.Sprintf("正在获取%s汉化包最新版本号...", transWay))
searchText := webSearch(fmt.Sprintf("https://github.com/%s/tags", transWay), cfwVersion)
if searchText == "" {
Expand Down

0 comments on commit cf0f015

Please sign in to comment.