Skip to content

Commit

Permalink
feat(cmd): ignore update check if version is dev (#2697)
Browse files Browse the repository at this point in the history
  • Loading branch information
SunsetTechuila authored Dec 5, 2023
1 parent d94ca77 commit 2c0cdb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ func ReadAnswer(info string, defaultAnswer bool, quietModeAnswer bool) bool {

// CheckUpdate fetches latest package version from Github API and inform user if there is new release
func CheckUpdate(version string) {
if !settingSection.Key("check_spicetify_update").MustBool() {
if !settingSection.Key("check_spicetify_update").MustBool() || version == "Dev" {
return
}

Expand Down

0 comments on commit 2c0cdb4

Please sign in to comment.