From ef40918cfbe1efecba77218df71e1e72fbce5c36 Mon Sep 17 00:00:00 2001 From: Klaus Hipp Date: Thu, 4 Jul 2024 21:21:18 +0200 Subject: [PATCH] ultdata: update livecheck, use versioned url --- Casks/u/ultdata.rb | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Casks/u/ultdata.rb b/Casks/u/ultdata.rb index 001eed9154dd..56953d03c382 100644 --- a/Casks/u/ultdata.rb +++ b/Casks/u/ultdata.rb @@ -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 @@ -23,4 +23,8 @@ "~/Library/Preferences/com.tenorshare.TenorshareUltData.plist", "~/Library/Saved Application State/com.tenorshare.TenorshareUltData.savedState", ] + + caveats do + requires_rosetta + end end