Skip to content

Commit

Permalink
Merge pull request #194544 from Homebrew/opencat-update-livecheck
Browse files Browse the repository at this point in the history
opencat: update livecheck
  • Loading branch information
chenrui333 authored Dec 8, 2024
2 parents 6b05de7 + 6a3a9d5 commit b4c4664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Casks/o/opencat.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
livecheck do
url "https://opencat.app/releases/versions.xml"
strategy :sparkle do |item|
short_version = (item.short_version.split(".").length < 3) ? "#{item.short_version}.0" : item.short_version
short_version = (item.short_version.count(".") >= 2) ? item.short_version : "#{item.short_version}.0"
"#{short_version},#{item.version}"
end
end
Expand Down

0 comments on commit b4c4664

Please sign in to comment.