Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jandi: update livecheck #189973

Merged
merged 1 commit into from
Oct 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions Casks/j/jandi.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cask "jandi" do
arch arm: "-arm64"

version "1.7.7,202306"
version "1.7.7"
sha256 :no_check

url "https://cdn.jandi.com/jandi-pc/download/JANDI#{arch}.dmg"
Expand All @@ -10,8 +10,14 @@
homepage "https://www.jandi.com/landing/"

livecheck do
url :url
strategy :extract_plist
url "https://www.jandi.io/version/useragent/desktop"
regex(%r{Jandi/v?(\d+(?:\.\d+)+)}i)
strategy :json do |json, regex|
match = json["response"]&.match(regex)
next if match.blank?

match[1]
end
end

app "JANDI.app"
Expand Down
Loading