cask "tuple" do version "1.123.10,2025-07-01,08defa70a" sha256 "43897f508f8cad41f5c9440f2ca66bb784cda4b34ead2b5bb575fc715b8420ef" url "https://d32ifkf9k9ezcg.cloudfront.net/production/sparkle/tuple-#{version.tr(",", "-")}.zip", verified: "d32ifkf9k9ezcg.cloudfront.net/" name "Tuple" desc "Remote pair programming app" homepage "https://tuple.app/" livecheck do url "https://d32ifkf9k9ezcg.cloudfront.net/production/sparkle/appcast.xml" regex(/^v?(\d+(?:\.\d+)+)[._-](\d+(?:-\d+)+)[._-](\h+)$/i) strategy :sparkle do |item, regex| match = item.version.match(regex) next if match.blank? "#{match[1]},#{match[2]},#{match[3]}" end end auto_updates true depends_on macos: ">= :ventura" app "Tuple.app" uninstall launchctl: "app.tuple.app-LaunchAtLoginHelper", quit: "app.tuple.app" zap trash: [ "~/Library/Application Scripts/app.tuple.app-LaunchAtLoginHelper", "~/Library/Application Support/app.tuple.app", "~/Library/Caches/app.tuple.app", "~/Library/Caches/com.crashlytics.data/app.tuple.app", "~/Library/Caches/io.fabric.sdk.mac.data/app.tuple.app", "~/Library/Containers/app.tuple.app-LaunchAtLoginHelper", "~/Library/Preferences/app.tuple.app.plist", "~/Library/WebKit/app.tuple.app", ] end