Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Commit

Permalink
fix doko show_update prop in version checker
Browse files Browse the repository at this point in the history
  • Loading branch information
abdfnx committed Jan 5, 2022
1 parent 85276d6 commit f1e123e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/checker/checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func Check(buildVersion string) {
return ""
}

if buildVersion != latestVersion && gjson.Get(tools.SettingsContent(), "rs_settings.show_update").String() != "false" {
if buildVersion != latestVersion && gjson.Get(tools.SettingsContent(), "dk_settings.show_update").String() != "false" {
fmt.Fprintf(stderr, "%s %s → %s\n",
ansi.Color("There's a new version of ", "yellow") + ansi.Color("doko", "cyan") + ansi.Color(" is avalaible:", "yellow"),
ansi.Color(buildVersion, "cyan"),
Expand Down

0 comments on commit f1e123e

Please sign in to comment.