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

ultdata: update livecheck, use versioned url #178600

Closed
wants to merge 1 commit into from
Closed
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
14 changes: 9 additions & 5 deletions Casks/u/ultdata.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
cask "ultdata" do
version "9.7.27.12"
sha256 :no_check
version "1053"
sha256 "1ecbd8c186d7e9c68bd5005de9fa3a135c5c86fc458a182953c05f2b778354e6"

url "https://download.tenorshare.com/downloads/ultdata-ios-mac.dmg"
url "https://download.tenorshare.com/downloads/ultdata-ios-mac_#{version}.dmg"
name "UltData"
desc "iPhone data recovery software"
homepage "https://www.tenorshare.com/products/iphone-data-recovery.html"

livecheck do
url :url
strategy :extract_plist
url :homepage
regex(/href=.*?ultdata-ios-mac[._-]v?(\d+(?:\.\d+)*)\.dmg/i)
end

auto_updates true
Expand All @@ -23,4 +23,8 @@
"~/Library/Preferences/com.tenorshare.TenorshareUltData.plist",
"~/Library/Saved Application State/com.tenorshare.TenorshareUltData.savedState",
]

caveats do
requires_rosetta
end
end
Loading